Browse Source

images: use clear background color instead of black/white

post-button-style
William Casarin 2 years ago
parent
commit
7c132675ac
  1. 4
      damus/Components/ImageCarousel.swift

4
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

Loading…
Cancel
Save