From 2de261c49b232b9d733bbde4ee00afb0cbaff4db Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Mon, 16 Aug 2021 14:07:05 +0200 Subject: [PATCH] fix(StatusSearchPopup): replace "#" character with "channel" icon --- src/StatusQ/Popups/StatusSearchPopup.qml | 10 +++++++++- src/StatusQ/Popups/StatusSearchPopupMenuItem.qml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/StatusQ/Popups/StatusSearchPopup.qml b/src/StatusQ/Popups/StatusSearchPopup.qml index d379beec..e36ed9c1 100644 --- a/src/StatusQ/Popups/StatusSearchPopup.qml +++ b/src/StatusQ/Popups/StatusSearchPopup.qml @@ -218,10 +218,18 @@ StatusModal { color: Theme.palette.baseColor1 icon: "next" } + StatusIcon { + Layout.preferredWidth: 17.5 + Layout.preferredHeight: 17.5 + Layout.alignment: Qt.AlignVCenter + visible: !!searchOptionsMenuButton.secondaryText + color: Theme.palette.directColor1 + icon: "channel" + } StatusBaseText { color: Theme.palette.directColor1 visible: !!searchOptionsMenuButton.secondaryText - text: "# " + searchOptionsMenuButton.secondaryText + text: searchOptionsMenuButton.secondaryText font.weight: Font.Medium } StatusIcon { diff --git a/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml b/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml index 3dce1f4d..87944968 100644 --- a/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml +++ b/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml @@ -38,7 +38,7 @@ MenuItem { Layout.alignment: Qt.AlignVCenter visible: !!root.iconSettings.name && !root.image.source.toString() icon: root.iconSettings.name - color: root.iconSettings.color + color: (icon === "channel")? Theme.palette.directColor1 : root.iconSettings.color } StatusRoundedImage { Layout.preferredWidth: visible ? root.image.width : 0