video: switch videoplayer to use detached tasks

This commit is contained in:
William Casarin
2023-06-20 15:56:55 +02:00
parent b7b7d65612
commit 2ff12cdfa6
3 changed files with 12 additions and 13 deletions

View File

@@ -53,6 +53,7 @@ enum ImageShape {
}
// MARK: - Image Carousel
@MainActor
struct ImageCarousel: View {
var urls: [MediaUrl]