Skip to content

Commit

Permalink
fix: revert change of cosmic::Task to cosmic::app::Task
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mmstick committed Nov 25, 2024
1 parent 0ef3cce commit 637d932
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 637d932

Please sign in to comment.