From 7c132675acadc6b28f6ca9796d2046d10419e8c0 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 28 Dec 2022 12:34:22 -0800 Subject: [PATCH] images: use clear background color instead of black/white --- damus/Components/ImageCarousel.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift index bfad1df3..66a4ea24 100644 --- a/damus/Components/ImageCarousel.swift +++ b/damus/Components/ImageCarousel.swift @@ -115,8 +115,6 @@ struct ImageViewer: View { struct ImageCarousel: View { var urls: [URL] - @Environment(\.colorScheme) var colorScheme - @State var open_sheet: Bool = false @State var current_url: URL? = nil @@ -124,7 +122,7 @@ struct ImageCarousel: View { TabView { ForEach(urls, id: \.absoluteString) { url in Rectangle() - .foregroundColor(colorScheme == .light ? Color.white : Color.black) + .foregroundColor(Color.clear) .overlay { KFAnimatedImage(url) .configure { view in