fix: update iced

This commit is contained in:
Ashley Wulber 2026-02-27 17:28:00 -05:00 • committed by Jacob Kauffmann
parent 89671a793f
commit a51050128e
2 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,3 @@
[toolchain] [toolchain]
channel = "1.92.0" channel = "1.90.0"
components = ["clippy", "rustfmt"] components = ["clippy", "rustfmt"]

View file

@ -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 => {