From 9ad5a7b02b15f6837cdc9ee794ff4ca90237a43a Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 16 Jun 2021 22:43:34 +0000 Subject: [PATCH] Fix some minor warnings --- imports/NeoChat/Component/Emoji/EmojiPicker.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imports/NeoChat/Component/Emoji/EmojiPicker.qml b/imports/NeoChat/Component/Emoji/EmojiPicker.qml index a9b7f3b99..e6053f8fb 100644 --- a/imports/NeoChat/Component/Emoji/EmojiPicker.qml +++ b/imports/NeoChat/Component/Emoji/EmojiPicker.qml @@ -63,7 +63,7 @@ ColumnLayout { Layout.preferredWidth: del.label === "custom" ? implicitWidth + Kirigami.Units.largeSpacing : Kirigami.Units.gridUnit * 2 - font.family: del.label === "custom" ? undefined : 'emoji' + font.family: del.label === "custom" ? "" : 'emoji' text: del.label === "custom" ? i18n("Custom") : del.label } @@ -139,7 +139,7 @@ ColumnLayout { Image { visible: modelData.isCustom - source: modelData.unicode + source: visible ? modelData.unicode : "" anchors.fill: parent anchors.margins: 2