commit 7c132675acadc6b28f6ca9796d2046d10419e8c0
parent e6ab1d16d53e4f6205077e2a77e30c6fcf3493bb
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 28 Dec 2022 12:34:22 -0800
images: use clear background color instead of black/white
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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