Skip to content

Commit

Permalink
chore(communities/portal): do not show community banner when not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
osmaczko committed Oct 18, 2022
1 parent fa1f396 commit 7111879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/StatusQ/src/StatusQ/Components/StatusCommunityCard.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -209,6 +209,7 @@ Rectangle {
OpacityMask {
anchors.fill: image

visible: root.loaded
source: image
maskSource: mask
}
Expand Down

0 comments on commit 7111879

Please sign in to comment.