From 653ad0be97a46b398eaa303e4e3b3775dee53771 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 23 Feb 2020 15:47:19 +0100 Subject: [PATCH] Fix placeholder text being visible behind transparent avatars --- resources/qml/Avatar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/Avatar.qml b/resources/qml/Avatar.qml index f19cd09..0a53eac 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 {