♻️ refactor(notification): improve notification caching and management

This commit is contained in:
sankalp committed 2025-08-06 12:27:00 +05:45
1 parent c1c6786b26
commit b497c61fa0
6 files changed
+372 -371

No files matched your search

+4 -16
View File
@@ -248,16 +248,10 @@ class ModusControlCenter(Window):
style_classes="menu",
h_expand=True,
children=[
Label(
label="Display",
style_classes="title",
h_align="start"
),
Label(label="Display", style_classes="title", h_align="start"),
self.brightness_scale,
Label(
label="󰖨 ",
name="brightness-widget-icon",
h_align="start"
label="󰖨 ", name="brightness-widget-icon", h_align="start"
),
],
),
@@ -267,16 +261,10 @@ class ModusControlCenter(Window):
style_classes="menu",
h_expand=True,
children=[
Label(
label="Sound",
style_classes="title",
h_align="start"
),
Label(label="Sound", style_classes="title", h_align="start"),
self.volume_scale,
Label(
label=" ",
name="brightness-widget-icon",
h_align="start"
label=" ", name="brightness-widget-icon", h_align="start"
),
],
),