Keep unread messages visible on collapsed contact groups
This commit is contained in:
1 parent
57cf5ba51b
commit
53daeca615
5 files changed
+16
-5
No files matched your search
@@ -758,7 +758,7 @@ export component ShellScreen inherits Rectangle {
|
||||
ListView {
|
||||
for item in ShellBridge.contacts: Rectangle {
|
||||
height: item.kind == 4 ? 30px : max(44px, Theme.touch-target);
|
||||
if item.kind == 4: parity-contact-disclosure := ChromeButton { width: parent.width; height: parent.height; glyph: item.expanded ? 5 : 6; text: item.title; center-text: false; ink: ShellColors.subtitle; accessible-expanded: item.expanded; clicked => { ShellBridge.expand(item.id); } }
|
||||
if item.kind == 4: parity-contact-disclosure := ChromeButton { width: parent.width; height: parent.height; glyph: item.expanded ? 5 : 6; text: item.unread == "" ? item.title : item.title + " (" + item.unread + ")"; center-text: false; ink: ShellColors.subtitle; accessible-expanded: item.expanded; clicked => { ShellBridge.expand(item.id); } }
|
||||
if item.kind != 4: EntryRow { item: item; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user