From 162768af8ff9b4ca9c57be376176db1c1fdfac82 Mon Sep 17 00:00:00 2001 From: Jason Rodney Hansen Date: Sun, 23 Mar 2025 14:30:22 -0600 Subject: [PATCH] Fix toasts for Extract and Compress --- src/app.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app.rs b/src/app.rs index 160d572..8e9fcec 100644 --- a/src/app.rs +++ b/src/app.rs @@ -2914,6 +2914,12 @@ impl Application for App { ) .map(cosmic::Action::App), ); + } else { + commands.push( + self.toasts + .push(widget::toaster::Toast::new(description)) + .map(cosmic::Action::App), + ); } }