From 19aa32a07ec633d63a8df1e11899bb20fd91ffd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Thu, 22 Sep 2022 01:48:30 +0200 Subject: [PATCH] fix(ContactPanel): unbreak showing identicon rings - unbreak the user icon in the popup menu - don't show idention ring for ENS names Fixes: #7496 --- ui/app/AppLayouts/Profile/panels/ContactPanel.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/app/AppLayouts/Profile/panels/ContactPanel.qml b/ui/app/AppLayouts/Profile/panels/ContactPanel.qml index ba08acda59..2e23ebaf20 100644 --- a/ui/app/AppLayouts/Profile/panels/ContactPanel.qml +++ b/ui/app/AppLayouts/Profile/panels/ContactPanel.qml @@ -61,8 +61,8 @@ StatusListItem { asset.isImage: asset.name.includes("data") asset.isLetterIdenticon: root.iconSource.toString() === "" ringSettings { - ringSpecModel: Utils.getColorHashAsJson(root.publicKey) - ringPxSize: Math.max(icon.width / 24.0) + ringSpecModel: root.name.startsWith('@') ? undefined : Utils.getColorHashAsJson(root.publicKey) + ringPxSize: Math.max(asset.width / 24.0) } components: [ @@ -131,9 +131,8 @@ StatusListItem { icon.name: "more" icon.color: Theme.palette.directColor1 onClicked: { - root.openContactContextMenu(root.publicKey, root.name, root.icon) + root.openContactContextMenu(root.publicKey, root.name, root.iconSource) } } ] } -