Unverified Commit ae0728e2 authored by System64's avatar System64 Committed by GitHub

Add control center visibility class (#371)

parent 42b90509
...@@ -580,6 +580,10 @@ namespace SwayNotificationCenter { ...@@ -580,6 +580,10 @@ namespace SwayNotificationCenter {
var group = (NotificationGroup) w; var group = (NotificationGroup) w;
if (group != null) group.update (); if (group != null) group.update ();
} }
this.get_style_context ().add_class ("open");
}
else {
this.get_style_context ().remove_class ("open");
} }
swaync_daemon.subscribe_v2 (notification_count (), swaync_daemon.subscribe_v2 (notification_count (),
noti_daemon.dnd, noti_daemon.dnd,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment