fix: update libcosmic
should fix memory leak and high CPU in certain situations with autosize popups
This commit is contained in:
parent
09062c10c9
commit
1e99f2c476
2 changed files with 182 additions and 179 deletions
358
Cargo.lock
generated
358
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -326,7 +326,8 @@ impl cosmic::Application for Power {
|
|||
HashMap::from_iter(vec![("action", action)])
|
||||
);
|
||||
let countdown = &countdown.to_string();
|
||||
let mut dialog = cosmic::widget::dialog(title)
|
||||
let mut dialog = cosmic::widget::dialog()
|
||||
.title(title)
|
||||
.body(fl!(
|
||||
"confirm-body",
|
||||
HashMap::from_iter(vec![("action", action), ("countdown", countdown)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue