fix: do not use a loading indicator for identicons
This commit is contained in:
parent
a69d6befe4
commit
f0479a50b1
|
@ -22,7 +22,7 @@ Loader {
|
|||
if (profileImageSource) {
|
||||
return profileImageSource
|
||||
}
|
||||
|
||||
identiconImage.showLoadingIndicator = false
|
||||
return !isCurrentUser ? identicon : profileModel.profile.identicon
|
||||
}
|
||||
smooth: false
|
||||
|
|
|
@ -7,10 +7,11 @@ Rectangle {
|
|||
property bool noHover: false
|
||||
property alias source: image.source
|
||||
property alias fillMode: image.fillMode
|
||||
property bool showLoadingIndicator: true
|
||||
signal loaded
|
||||
signal clicked
|
||||
color: Style.current.backgroundHover
|
||||
state: "loading"
|
||||
state: showLoadingIndicator ? "loading" : "ready"
|
||||
radius: width / 2
|
||||
states: [
|
||||
State {
|
||||
|
|
|
@ -5,6 +5,7 @@ Rectangle {
|
|||
id: root
|
||||
signal clicked
|
||||
property bool noHover: false
|
||||
property alias showLoadingIndicator: imgStickerPackThumb.showLoadingIndicator
|
||||
property alias source: imgStickerPackThumb.source
|
||||
property alias fillMode: imgStickerPackThumb.fillMode
|
||||
|
||||
|
|
Loading…
Reference in New Issue