Make unread messages use an ascii circle
This commit is contained in:
@@ -338,13 +338,14 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
trailing: RowLayout {
|
trailing: RowLayout {
|
||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
text: notificationCount > 0 ? notificationCount : ""
|
text: notificationCount > 0 ? notificationCount : "●"
|
||||||
visible: unreadCount > 0
|
visible: unreadCount > 0
|
||||||
padding: Kirigami.Units.smallSpacing
|
padding: Kirigami.Units.smallSpacing
|
||||||
color: Kirigami.Theme.textColor
|
color: Kirigami.Theme.textColor
|
||||||
Layout.minimumWidth: height
|
Layout.minimumWidth: height
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
visible: notificationCount > 0
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
||||||
color: highlightCount > 0 ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.disabledTextColor
|
color: highlightCount > 0 ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.disabledTextColor
|
||||||
radius: height / 2
|
radius: height / 2
|
||||||
|
|||||||
Reference in New Issue
Block a user