try again again
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2026-02-10 12:53:55 -06:00
parent 8b78357cde
commit a2c137b256

View file

@ -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(