Persist independent online and offline contact group expansion
This commit is contained in:
1 parent
b6db8a2b29
commit
9d8a8ea2ae
9 files changed
+56
-6
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: Text { x: 10px; text: item.title; color: ShellColors.subtitle; font-size: 13px; vertical-alignment: center; }
|
||||
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: EntryRow { item: item; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user