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
|
displayName: profileStore.name
|
||||||
pubkey: profileStore.pubkey
|
pubkey: profileStore.pubkey
|
||||||
icon: profileStore.icon
|
icon: profileStore.profileLargeImage
|
||||||
imageSize: ProfileHeader.ImageSize.Big
|
imageSize: ProfileHeader.ImageSize.Big
|
||||||
|
|
||||||
displayNameVisible: false
|
displayNameVisible: false
|
||||||
|
|
|
@ -32,7 +32,7 @@ Item {
|
||||||
property bool pubkeyVisibleWithCopy: false
|
property bool pubkeyVisibleWithCopy: false
|
||||||
property bool emojiHashVisible: true
|
property bool emojiHashVisible: true
|
||||||
property bool editImageButtonVisible: false
|
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 clicked()
|
||||||
signal editClicked()
|
signal editClicked()
|
||||||
|
@ -47,7 +47,6 @@ Item {
|
||||||
case ProfileHeader.ImageSize.Compact: return compact;
|
case ProfileHeader.ImageSize.Compact: return compact;
|
||||||
case ProfileHeader.ImageSize.Middle: return normal;
|
case ProfileHeader.ImageSize.Middle: return normal;
|
||||||
case ProfileHeader.ImageSize.Big: return big;
|
case ProfileHeader.ImageSize.Big: return big;
|
||||||
return normal;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ StatusModal {
|
||||||
userName = contactDetails.alias;
|
userName = contactDetails.alias;
|
||||||
userNickname = contactDetails.localNickname;
|
userNickname = contactDetails.localNickname;
|
||||||
userEnsName = contactDetails.name;
|
userEnsName = contactDetails.name;
|
||||||
userIcon = contactDetails.displayIcon;
|
userIcon = contactDetails.largeImage;
|
||||||
userIsEnsVerified = contactDetails.ensVerified;
|
userIsEnsVerified = contactDetails.ensVerified;
|
||||||
userIsBlocked = contactDetails.isBlocked;
|
userIsBlocked = contactDetails.isBlocked;
|
||||||
isAddedContact = contactDetails.isContact;
|
isAddedContact = contactDetails.isContact;
|
||||||
|
|
|
@ -160,7 +160,7 @@ Rectangle {
|
||||||
|
|
||||||
displayName: root.userDisplayName
|
displayName: root.userDisplayName
|
||||||
pubkey: root.userPublicKey
|
pubkey: root.userPublicKey
|
||||||
icon: root.isCurrentUser ? root.profileStore.icon : root.userIcon
|
icon: root.isCurrentUser ? root.profileStore.profileLargeImage : root.userIcon
|
||||||
trustStatus: root.userTrustStatus
|
trustStatus: root.userTrustStatus
|
||||||
isContact: root.isAddedContact
|
isContact: root.isAddedContact
|
||||||
store: root.profileStore
|
store: root.profileStore
|
||||||
|
|
Loading…
Reference in New Issue