fix(ContactPanel): unbreak showing identicon rings
- unbreak the user icon in the popup menu - don't show idention ring for ENS names Fixes: #7496
This commit is contained in:
parent
52dbf9b7c8
commit
19aa32a07e
|
@ -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)
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue