From a51050128e7ae5e059161758f81bf4aaa743fd88 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 27 Feb 2026 17:28:00 -0500 Subject: [PATCH] fix: update iced --- rust-toolchain.toml | 2 +- src/locker.rs | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 711b3a4..f35f369 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.92.0" +channel = "1.90.0" components = ["clippy", "rustfmt"] diff --git a/src/locker.rs b/src/locker.rs index d753637..1647c48 100644 --- a/src/locker.rs +++ b/src/locker.rs @@ -808,12 +808,11 @@ impl cosmic::Application for App { ); if matches!(self.state, State::Locked { .. }) { - return Task::batch([ - get_lock_surface(surface_id, output), + return Task::batch([get_lock_surface(surface_id, output).chain({ cosmic::task::message(cosmic::Action::Cosmic( cosmic::app::Action::Surface(msg), - )), - ]); + )) + })]); } } OutputEvent::Removed => {