ac-suspend-fix

Call recreate_notifications at OnBattery to prevent on AC suspends.
This commit is contained in:
pilotstew 2026-09-30 21:19:02 -05:00 • committed by GitHub
parent b3693ea1cf
commit 87f36b9a54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,6 +222,7 @@ impl State {
match event {
Event::OnBattery(value) => {
self.on_battery = value;
self.recreate_notifications();
}
Event::ScreensaverInhibit(value) => {
self.screensaver_inhibit = value;