fix: update libcosmic

should fix memory leak and high CPU in certain situations with autosize popups
This commit is contained in:
Ashley Wulber 2024-11-19 14:21:51 -05:00 committed by Jeremy Soller
parent 09062c10c9
commit 1e99f2c476
2 changed files with 182 additions and 179 deletions

358
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -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)])