uiux: inform user early when there's no stickers installed

This makes sure we don't wait until all sticker packs are loaded
to show the user that now packs were installed (we know this much earlier).

Fixes #4127
This commit is contained in:
Pascal Precht 2021-11-23 14:59:49 +01:00 committed by r4bbit.eth
parent 5b9f5f5990
commit db45130a1e
1 changed files with 8 additions and 1 deletions

View File

@ -72,6 +72,13 @@ Popup {
footerContent.visible = true
stickersContainer.visible = true
}
Loader {
id: marketLoader
active: !root.stickerPacksLoaded
sourceComponent: loadingImageComponent
anchors.centerIn: parent
}
}
Item {
@ -87,7 +94,7 @@ Popup {
Item {
id: noStickerPacks
anchors.fill: parent
visible: false
visible: installedPacksCount == 0
Image {
id: imgNoStickers