Use better visible check

This commit is contained in:
Loren Burkholder 2021-09-06 21:11:49 -04:00
parent 094ddb48a2
commit bb8dbf2c2e

View file

@ -43,8 +43,8 @@ Rectangle {
Image {
id: identicon
anchors.fill: parent
visible: img.status != Image.Ready && Settings.useIdenticon
layer.enabled: true
visible: Settings.useIdenticon && img.status != Image.Ready
source: Settings.useIdenticon ? ("image://jdenticon/" + (userid !== "" ? userid : roomid) + "?radius=" + (Settings.avatarCircles ? 100 : 25)) : ""
MouseArea {