fix(profile): the profile image is blurred in different places
Closes #6295 - use the recently introduced `profileLargeImage` property for bigger user images - fix some QML(lint) warnings
This commit is contained in:
parent
aa804ffaef
commit
f798d6d0e6
|
@ -60,7 +60,7 @@ ColumnLayout {
|
|||
|
||||
displayName: profileStore.name
|
||||
pubkey: profileStore.pubkey
|
||||
icon: profileStore.icon
|
||||
icon: profileStore.profileLargeImage
|
||||
imageSize: ProfileHeader.ImageSize.Big
|
||||
|
||||
displayNameVisible: false
|
||||
|
|
|
@ -32,7 +32,7 @@ Item {
|
|||
property bool pubkeyVisibleWithCopy: false
|
||||
property bool emojiHashVisible: true
|
||||
property bool editImageButtonVisible: false
|
||||
readonly property bool compact: root.imageSize == ProfileHeader.ImageSize.Compact
|
||||
readonly property bool compact: root.imageSize === ProfileHeader.ImageSize.Compact
|
||||
|
||||
signal clicked()
|
||||
signal editClicked()
|
||||
|
@ -47,7 +47,6 @@ Item {
|
|||
case ProfileHeader.ImageSize.Compact: return compact;
|
||||
case ProfileHeader.ImageSize.Middle: return normal;
|
||||
case ProfileHeader.ImageSize.Big: return big;
|
||||
return normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ StatusModal {
|
|||
userName = contactDetails.alias;
|
||||
userNickname = contactDetails.localNickname;
|
||||
userEnsName = contactDetails.name;
|
||||
userIcon = contactDetails.displayIcon;
|
||||
userIcon = contactDetails.largeImage;
|
||||
userIsEnsVerified = contactDetails.ensVerified;
|
||||
userIsBlocked = contactDetails.isBlocked;
|
||||
isAddedContact = contactDetails.isContact;
|
||||
|
|
|
@ -160,7 +160,7 @@ Rectangle {
|
|||
|
||||
displayName: root.userDisplayName
|
||||
pubkey: root.userPublicKey
|
||||
icon: root.isCurrentUser ? root.profileStore.icon : root.userIcon
|
||||
icon: root.isCurrentUser ? root.profileStore.profileLargeImage : root.userIcon
|
||||
trustStatus: root.userTrustStatus
|
||||
isContact: root.isAddedContact
|
||||
store: root.profileStore
|
||||
|
|
Loading…
Reference in New Issue