Use better visible check
This commit is contained in:
parent
094ddb48a2
commit
bb8dbf2c2e
@ -43,8 +43,8 @@ Rectangle {
|
|||||||
Image {
|
Image {
|
||||||
id: identicon
|
id: identicon
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: img.status != Image.Ready && Settings.useIdenticon
|
|
||||||
layer.enabled: true
|
layer.enabled: true
|
||||||
|
visible: Settings.useIdenticon && img.status != Image.Ready
|
||||||
source: Settings.useIdenticon ? ("image://jdenticon/" + (userid !== "" ? userid : roomid) + "?radius=" + (Settings.avatarCircles ? 100 : 25)) : ""
|
source: Settings.useIdenticon ? ("image://jdenticon/" + (userid !== "" ? userid : roomid) + "?radius=" + (Settings.avatarCircles ? 100 : 25)) : ""
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
Loading…
Reference in New Issue
Block a user