diff --git a/src/app/modules/main/profile_section/ens_usernames/view.nim b/src/app/modules/main/profile_section/ens_usernames/view.nim index cd315b5435..e5d9b93cfb 100644 --- a/src/app/modules/main/profile_section/ens_usernames/view.nim +++ b/src/app/modules/main/profile_section/ens_usernames/view.nim @@ -74,10 +74,6 @@ QtObject: proc getEtherscanAddressLink*(self: View): string {.slot.} = return self.etherscanAddressLink - proc usernameConfirmed(self: View, username: string) {.signal.} - proc emitUsernameConfirmedSignal*(self: View, ensUsername: string) = - self.usernameConfirmed(ensUsername) - proc transactionCompleted(self: View, success: bool, txHash: string, username: string, trxType: string) {.signal.} proc emitTransactionCompletedSignal*(self: View, success: bool, txHash: string, username: string, trxType: string) = self.transactionCompleted(success, txHash, username, trxType) diff --git a/ui/app/AppLayouts/Profile/views/EnsListView.qml b/ui/app/AppLayouts/Profile/views/EnsListView.qml index 3bbc0df6fa..70d3d65166 100644 --- a/ui/app/AppLayouts/Profile/views/EnsListView.qml +++ b/ui/app/AppLayouts/Profile/views/EnsListView.qml @@ -36,21 +36,13 @@ Item { property int numOfPendingEnsUsernames: 0 readonly property bool hasConfirmedEnsUsernames: root.ensUsernamesStore.ensUsernamesModel.count > 0 - && numOfPendingEnsUsernames !== root.ensUsernamesStore.ensUsernamesModel.count + || numOfPendingEnsUsernames > 0 function updateNumberOfPendingEnsUsernames() { numOfPendingEnsUsernames = root.ensUsernamesStore.numOfPendingEnsUsernames() } } - Connections { - target: root.ensUsernamesStore.ensUsernamesModule - function onUsernameConfirmed(username: string) { - d.updateNumberOfPendingEnsUsernames() - chatSettingsLabel.visible = true - } - } - Item { anchors.top: parent.top width: profileContentWidth