fix: update iced
This commit is contained in:
parent
89671a793f
commit
a51050128e
2 changed files with 4 additions and 5 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.92.0"
|
channel = "1.90.0"
|
||||||
components = ["clippy", "rustfmt"]
|
components = ["clippy", "rustfmt"]
|
||||||
|
|
|
||||||
|
|
@ -808,12 +808,11 @@ impl cosmic::Application for App {
|
||||||
);
|
);
|
||||||
|
|
||||||
if matches!(self.state, State::Locked { .. }) {
|
if matches!(self.state, State::Locked { .. }) {
|
||||||
return Task::batch([
|
return Task::batch([get_lock_surface(surface_id, output).chain({
|
||||||
get_lock_surface(surface_id, output),
|
|
||||||
cosmic::task::message(cosmic::Action::Cosmic(
|
cosmic::task::message(cosmic::Action::Cosmic(
|
||||||
cosmic::app::Action::Surface(msg),
|
cosmic::app::Action::Surface(msg),
|
||||||
)),
|
))
|
||||||
]);
|
})]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OutputEvent::Removed => {
|
OutputEvent::Removed => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue