fix(ProfilePopup): popup title was wrong with ens names

Closes #7320
This commit is contained in:
Alexandra Betouni 2022-09-22 13:03:07 +03:00 committed by Alexandra Betouni
parent ced2454bdc
commit 54076c772c
1 changed files with 3 additions and 4 deletions

View File

@ -173,16 +173,15 @@ StatusDialog {
header: StatusDialogHeader {
id: dialogHeader
headline.title: {
if(showVerifyIdentitySection || showVerificationPendingSection){
return qsTr("Verify %1's Identity").arg(userIsEnsVerified ? userName : userDisplayName)
return qsTr("Verify %1's Identity").arg(userDisplayName)
}
return popup.isCurrentUser ? qsTr("My Profile") :
qsTr("%1's Profile").arg(userIsEnsVerified ? userName : userDisplayName)
qsTr("%1's Profile").arg(userDisplayName)
}
headline.subtitle: popup.isCurrentUser ? "" : userIsEnsVerified ? userName : Utils.getElidedCompressedPk(userPublicKey)
headline.subtitle: popup.isCurrentUser ? "" : Utils.getElidedCompressedPk(userPublicKey)
actions {
customButtons: ObjectModel {