From dc1e0620e69d4c7e0a2cd10666ecba378a809513 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 --- ui/StatusQ/src/StatusQ/Popups/StatusSearchPopup.qml | 10 +++++++++- .../src/StatusQ/Popups/StatusSearchPopupMenuItem.qml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopup.qml b/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopup.qml index d379beec2c..e36ed9c17a 100644 --- a/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopup.qml +++ b/ui/StatusQ/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/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml b/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml index 3dce1f4d55..879449689a 100644 --- a/ui/StatusQ/src/StatusQ/Popups/StatusSearchPopupMenuItem.qml +++ b/ui/StatusQ/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