mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
fix: in profile popup display Username instead of ENS Username if ENS is not verified
Closes #3496.
This commit is contained in:
parent
e42b1d249e
commit
2e9c5047bb
@ -25,7 +25,7 @@ StatusModal {
|
||||
property var alias: ""
|
||||
|
||||
readonly property int innerMargin: 20
|
||||
|
||||
|
||||
property bool isEnsVerified: false
|
||||
property bool noFooter: false
|
||||
property bool isBlocked: false
|
||||
@ -90,7 +90,7 @@ StatusModal {
|
||||
}
|
||||
|
||||
StatusDescriptionListItem {
|
||||
title: qsTr("ENS username")
|
||||
title: ((isCurrentUser && profileModel.ens.preferredUsername) || isEnsVerified) ? qsTr("ENS username") : qsTr("Username")
|
||||
subTitle: isCurrentUser ? profileModel.ens.preferredUsername || userName : userName
|
||||
tooltip.text: qsTr("Copy to clipboard")
|
||||
icon.name: "copy"
|
||||
|
Loading…
x
Reference in New Issue
Block a user