mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-22 06:29:14 -04:00
Updated drop-down menu colors
This commit is contained in:
parent
bc2e524ec9
commit
58751bb0e5
4 changed files with 15 additions and 0 deletions
|
@ -391,9 +391,17 @@ class SidebandApp(MDApp):
|
|||
if self.sideband.config["dark_ui"]:
|
||||
self.color_reject = colors["DeepOrange"]["900"]
|
||||
self.color_accept = colors["LightGreen"]["700"]
|
||||
if not self.sideband.config["eink_mode"]:
|
||||
self.color_hover = colors["Dark"]["CardsDialogs"]
|
||||
else:
|
||||
self.color_hover = colors["Gray"]["800"]
|
||||
else:
|
||||
self.color_reject = colors["DeepOrange"]["800"]
|
||||
self.color_accept = colors["LightGreen"]["700"]
|
||||
if not self.sideband.config["eink_mode"]:
|
||||
self.color_hover = colors["Light"]["CardsDialogs"]
|
||||
else:
|
||||
self.color_hover = colors["Light"]["AppBar"]
|
||||
|
||||
self.apply_eink_mods()
|
||||
|
||||
|
@ -1229,6 +1237,9 @@ class SidebandApp(MDApp):
|
|||
|
||||
self.update_message_widgets()
|
||||
|
||||
def message_attachment_action(self, sender):
|
||||
pass
|
||||
|
||||
def update_message_widgets(self):
|
||||
toolbar_items = self.messages_view.ids.messages_toolbar.ids.right_actions.children
|
||||
mode_item = toolbar_items[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue