Add bold for unread channel
This commit is contained in:
@@ -153,6 +153,7 @@ Kirigami.ScrollablePage {
|
|||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
text: name ?? ""
|
text: name ?? ""
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
font.bold: unreadCount >= 0 || highlightCount > 0 || notificationCount > 0
|
||||||
wrapMode: Text.NoWrap
|
wrapMode: Text.NoWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +174,7 @@ Kirigami.ScrollablePage {
|
|||||||
padding: Kirigami.Units.smallSpacing
|
padding: Kirigami.Units.smallSpacing
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
||||||
color: Kirigami.Theme.backgroundColor
|
color: highlightCount > 0 ? Kirigami.Theme.negativeColor : Kirigami.Theme.backgroundColor
|
||||||
radius: height / 2
|
radius: height / 2
|
||||||
implicitWidth: implicitHeight
|
implicitWidth: implicitHeight
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user