chore(communities/portal): do not show community banner when not loaded

This commit is contained in:
Patryk Osmaczko 2022-10-18 15:56:38 +02:00 committed by osmaczko
parent fa1f396a86
commit 7111879e04
1 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,7 @@ Rectangle {
color: root.loaded ? root.communityColor : d.loadingColor2
// hide when image is loaded to avoid glitches on the edge
visible: image.status !== Image.Ready
visible: !root.loaded || image.status !== Image.Ready
}
Image {
@ -209,6 +209,7 @@ Rectangle {
OpacityMask {
anchors.fill: image
visible: root.loaded
source: image
maskSource: mask
}