diff --git a/src/app/profile/views/ens_manager.nim b/src/app/profile/views/ens_manager.nim index 4278360662..32e9463b7c 100644 --- a/src/app/profile/views/ens_manager.nim +++ b/src/app/profile/views/ens_manager.nim @@ -149,4 +149,4 @@ QtObject: let address = parseAddress(status_wallet.getWalletAccounts()[0].address) discard registerUsername(username & status_ens.domain, address, pubKey, password) self.connect(username, true) - \ No newline at end of file + diff --git a/src/status/ens.nim b/src/status/ens.nim index 6ecd15d244..6950a1cd58 100644 --- a/src/status/ens.nim +++ b/src/status/ens.nim @@ -162,6 +162,7 @@ proc registerUsername*(username:string, address: EthAddress, pubKey: string, pas let response = Json.decode(responseStr, RpcResponse) if not response.error.isNil: raise newException(RpcException, "Error registering ens-username: " & response.error.message) + result = response.result proc statusRegistrarAddress*():string = diff --git a/ui/app/AppLayouts/Profile/Sections/Ens/TermsAndConditions.qml b/ui/app/AppLayouts/Profile/Sections/Ens/TermsAndConditions.qml index 3dba67b4e5..990a0007d6 100644 --- a/ui/app/AppLayouts/Profile/Sections/Ens/TermsAndConditions.qml +++ b/ui/app/AppLayouts/Profile/Sections/Ens/TermsAndConditions.qml @@ -10,6 +10,10 @@ Item { signal backBtnClicked(); signal usernameRegistered(userName: string); + property string username: "" + + signal backBtnClicked(); + StyledText { id: sectionTitle //% "ENS usernames"