Add placeholder icon when there's no emojis or stickers

(cherry picked from commit 704ee6a53a)
This commit is contained in:
Joshua Goins
2024-11-16 10:50:49 -05:00
parent 69be6b5939
commit 119a9890b1

View File

@@ -84,6 +84,7 @@ QQC2.ScrollView {
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
icon.name: root.stickers ? "stickers" : "preferences-desktop-emoticons"
text: root.stickers ? i18n("No stickers") : i18n("No emojis")
visible: emojis.count === 0
}