fix(StatusSearchPopup): replace "#" character with "channel" icon

This commit is contained in:
Sale Djenic 2021-08-16 14:07:05 +02:00 committed by Pascal Precht
parent 78edcb3795
commit 2de261c49b
2 changed files with 10 additions and 2 deletions

View File

@ -218,10 +218,18 @@ StatusModal {
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
icon: "next" 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 { StatusBaseText {
color: Theme.palette.directColor1 color: Theme.palette.directColor1
visible: !!searchOptionsMenuButton.secondaryText visible: !!searchOptionsMenuButton.secondaryText
text: "# " + searchOptionsMenuButton.secondaryText text: searchOptionsMenuButton.secondaryText
font.weight: Font.Medium font.weight: Font.Medium
} }
StatusIcon { StatusIcon {

View File

@ -38,7 +38,7 @@ MenuItem {
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
visible: !!root.iconSettings.name && !root.image.source.toString() visible: !!root.iconSettings.name && !root.image.source.toString()
icon: root.iconSettings.name icon: root.iconSettings.name
color: root.iconSettings.color color: (icon === "channel")? Theme.palette.directColor1 : root.iconSettings.color
} }
StatusRoundedImage { StatusRoundedImage {
Layout.preferredWidth: visible ? root.image.width : 0 Layout.preferredWidth: visible ? root.image.width : 0