Add placeholder icon when there's no emojis or stickers
(cherry picked from commit 704ee6a53a)
This commit is contained in:
@@ -84,6 +84,7 @@ QQC2.ScrollView {
|
|||||||
|
|
||||||
Kirigami.PlaceholderMessage {
|
Kirigami.PlaceholderMessage {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
icon.name: root.stickers ? "stickers" : "preferences-desktop-emoticons"
|
||||||
text: root.stickers ? i18n("No stickers") : i18n("No emojis")
|
text: root.stickers ? i18n("No stickers") : i18n("No emojis")
|
||||||
visible: emojis.count === 0
|
visible: emojis.count === 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user