mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-18 02:21:17 +00:00
fix(ProfilePopup): title of My Profile popup is incorrect
Fixes #6397 just display "My Profile" and no subtitle in this case
This commit is contained in:
parent
23cec98ab7
commit
585a628b67
@ -141,9 +141,10 @@ StatusModal {
|
||||
if(showVerifyIdentitySection || showVerificationPendingSection){
|
||||
return qsTr("Verify %1's Identity").arg(userIsEnsVerified ? userName : userDisplayName)
|
||||
}
|
||||
return qsTr("%1's Profile").arg(userIsEnsVerified ? userName : userDisplayName)
|
||||
return popup.isCurrentUser ? qsTr("My Profile") :
|
||||
qsTr("%1's Profile").arg(userIsEnsVerified ? userName : userDisplayName)
|
||||
}
|
||||
header.subTitle: userIsEnsVerified ? userName : Utils.getElidedCompressedPk(userPublicKey)
|
||||
header.subTitle: popup.isCurrentUser ? "" : userIsEnsVerified ? userName : Utils.getElidedCompressedPk(userPublicKey)
|
||||
header.subTitleElide: Text.ElideMiddle
|
||||
padding: 8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user