Added objects view. Added ability to display icon styles from everyone.

This commit is contained in:
Mark Qvist 2024-05-31 23:35:42 +02:00
parent d72f74699d
commit 132e02685b
5 changed files with 227 additions and 33 deletions

View file

@ -61,6 +61,16 @@ MDNavigationLayout:
on_release: root.ids.screen_manager.app.conversations_action(self)
OneLineIconListItem:
text: "Objects"
on_release: root.ids.screen_manager.app.objects_action(self)
# _no_ripple_effect: True
IconLeftWidget:
icon: "devices"
on_release: root.ids.screen_manager.app.objects_action(self)
OneLineIconListItem:
text: "Situation Map"
on_release: root.ids.screen_manager.app.map_action(self)
@ -1402,7 +1412,7 @@ MDScreen:
height: dp(48)
MDLabel:
text: "Display styles in conversation list"
text: "Show user icons in conversation list"
font_style: "H6"
MDSwitch:
@ -1410,6 +1420,21 @@ MDScreen:
pos_hint: {"center_y": 0.3}
active: False
MDBoxLayout:
orientation: "horizontal"
size_hint_y: None
padding: [0,0,dp(24),dp(0)]
height: dp(48)
MDLabel:
text: "Only show user icons from trusted"
font_style: "H6"
MDSwitch:
id: display_style_from_trusted_only
pos_hint: {"center_y": 0.3}
active: False
MDBoxLayout:
orientation: "horizontal"
size_hint_y: None