From a2c137b256fe368e250f8f728400e0d71a60c571 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 10 Feb 2026 12:53:55 -0600 Subject: [PATCH] try again again --- src/ui/song_editor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/song_editor.rs b/src/ui/song_editor.rs index 8b81c06..fecd5c1 100644 --- a/src/ui/song_editor.rs +++ b/src/ui/song_editor.rs @@ -1393,6 +1393,7 @@ impl SongEditor { use cosmic::iced_futures::futures::stream; // use cosmic::iced_futures::futures::{Stream, StreamExt}; // use cosmic::iced_futures::stream::channel; + use cosmic::task::stream; let font_db = Arc::clone(&self.font_db); // need to test to see which of these methods yields faster // text_svg slide creation. There is a small thought in me that @@ -1424,7 +1425,7 @@ impl SongEditor { handle.abort(); }; let size = slides.len(); - let (task, handle) = Task::stream(stream::iter( + let (task, handle) = stream(stream::iter( slides.into_iter().enumerate().map( move |(index, mut slide)| { text_svg::text_svg_generator(