From 3fc764fe355ceb96eba654668517d865bbd9e3d7 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 27 Jun 2024 14:07:36 -0400 Subject: [PATCH] fix(profile): fix missing ring in own profile Fixes #15314 The problem is that we used the `name` property to know if we have an ENS name, but we actually set it to whatever is available, so we need to validate that it's an ENS name --- ui/app/AppLayouts/Profile/helpers/ContactDetails.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Profile/helpers/ContactDetails.qml b/ui/app/AppLayouts/Profile/helpers/ContactDetails.qml index 3e3a00f553..ebd1cc1524 100644 --- a/ui/app/AppLayouts/Profile/helpers/ContactDetails.qml +++ b/ui/app/AppLayouts/Profile/helpers/ContactDetails.qml @@ -78,7 +78,7 @@ QObject { readonly property var ownProfile: QObject { readonly property string displayName: root.profileStore.displayName readonly property string ensName: root.profileStore.name - readonly property bool isEnsVerified: root.profileStore.name !== "" + readonly property bool isEnsVerified: root.profileStore.name !== "" && Utils.isValidEns(root.profileStore.name) readonly property string localNickname: "" readonly property string alias: root.profileStore.username readonly property string icon: root.profileStore.icon