From 637d932669af46e6f2eff77026c2b6f9111c5654 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Mon, 25 Nov 2024 06:36:02 +0100 Subject: [PATCH] fix: revert change of `cosmic::Task` to `cosmic::app::Task` This change caused all uses of `cosmic::Task` to be coerced into a message type specific to `cosmic::app`. Thus, users were forced to create messages that are wrapped in `cosmic::app::Message` enums. --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2b2c9b43..886ae559 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,9 +22,7 @@ pub use app::{Application, ApplicationExt}; #[cfg(feature = "applet")] pub mod applet; -#[cfg(feature = "winit")] -pub use app::Task; - +pub use iced::Task; pub mod task; pub mod config;