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
|
@ -90,7 +90,7 @@ StatusModal {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusDescriptionListItem {
|
StatusDescriptionListItem {
|
||||||
title: qsTr("ENS username")
|
title: ((isCurrentUser && profileModel.ens.preferredUsername) || isEnsVerified) ? qsTr("ENS username") : qsTr("Username")
|
||||||
subTitle: isCurrentUser ? profileModel.ens.preferredUsername || userName : userName
|
subTitle: isCurrentUser ? profileModel.ens.preferredUsername || userName : userName
|
||||||
tooltip.text: qsTr("Copy to clipboard")
|
tooltip.text: qsTr("Copy to clipboard")
|
||||||
icon.name: "copy"
|
icon.name: "copy"
|
||||||
|
|
Loading…
Reference in New Issue