update libcosmic

This commit is contained in:
Ashley Wulber 2023-06-15 15:03:06 -04:00 committed by Ashley Wulber
parent 61d527a84c
commit 5a15ef8d7f
19 changed files with 124 additions and 146 deletions

View file

@ -418,7 +418,9 @@ impl Application for CosmicBatteryApplet {
(_, PowerProfileUpdate::Init(tx, p)) => Message::InitProfile(p, tx),
(_, PowerProfileUpdate::Error(e)) => Message::Errored(e), // TODO: handle error
}),
self.timeline.as_subscription().map(Message::Frame),
self.timeline
.as_subscription()
.map(|(_, now)| Message::Frame(now)),
])
}