update libcosmic
This commit is contained in:
parent
61d527a84c
commit
5a15ef8d7f
19 changed files with 124 additions and 146 deletions
|
|
@ -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)),
|
||||
])
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue