summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 15:47:19 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 15:47:19 +0100
commit653ad0be97a46b398eaa303e4e3b3775dee53771 (patch)
tree7231eb890ecaadd9c9ca4f5aaebc9e4a21ceebb0
parentFix windows build (diff)
downloadnheko-653ad0be97a46b398eaa303e4e3b3775dee53771.tar.xz
Fix placeholder text being visible behind transparent avatars
-rw-r--r--resources/qml/Avatar.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/Avatar.qml b/resources/qml/Avatar.qml
index f19cd09f..0a53eac9 100644
--- a/resources/qml/Avatar.qml
+++ b/resources/qml/Avatar.qml
@@ -25,6 +25,7 @@ Rectangle {
 		font.pixelSize: avatar.height/2
 		verticalAlignment: Text.AlignVCenter
 		horizontalAlignment: Text.AlignHCenter
+		visible: img.status != Image.Ready
 	}
 
 	Image {