chore(battery): update deps with fix

This commit is contained in:
Ashley Wulber 2026-05-12 11:13:18 -04:00 committed by Ashley Wulber
parent 89a149034d
commit 8b2ff3df73
2 changed files with 103 additions and 89 deletions

View file

@ -368,6 +368,10 @@ impl cosmic::Application for CosmicBatteryApplet {
let _ = tx.send(());
}
let mut tasks = vec![get_popup(popup_settings)];
if let Some(tx) = &self.settings_daemon_sender {
let _ = tx.send(settings_daemon::Request::GetDisplayBrightness);
let _ = tx.send(settings_daemon::Request::GetMaxDisplayBrightness);
}
// Try again every time a popup is opened
if self.charging_limit.is_none() {
tasks.push(Task::perform(get_charging_limit(), |limit| {