Fix ImageCarousel corner radius and context menu

This commit is contained in:
OlegAba authored and William Casarin committed 2023-02-24 13:04:13 -08:00
1 parent a2749eaaaa
commit 75fb0d19e2
1 file changed
+2 -1
+2 -1
View File
@@ -205,6 +205,7 @@ struct ImageCarousel: View {
view.framePreloadCount = 3
}
.aspectRatio(contentMode: .fit)
.cornerRadius(10)
.tabItem {
Text(url.absoluteString)
}
@@ -217,11 +218,11 @@ struct ImageCarousel: View {
}
}
}
.cornerRadius(10)
.fullScreenCover(isPresented: $open_sheet) {
ImageView(urls: urls)
}
.frame(height: 200)
.clipped()
.onTapGesture {
open_sheet = true
}