ui/carousel: refactor to use indices

This refactors our carousel control a bit, it was getting
messy

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-10 12:09:30 -07:00
parent e97574fcdc
commit 41053dd5a5
4 changed files with 147 additions and 133 deletions

View File

@@ -303,7 +303,7 @@ pub fn render_note_contents(
note_context.img_cache,
note_context.job_pool,
jobs,
supported_medias,
&supported_medias,
carousel_id,
trusted_media,
);