1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-28 07:50:33 +05:30

Disable gradient on iOS 14

This commit is contained in:
Arkadiusz Fal 2022-12-21 00:18:13 +01:00
parent 5b482323a0
commit 69e9869fe9

View File

@ -207,6 +207,7 @@ struct VideoDetails: View {
.zIndex(1)
#if !os(tvOS)
if #available(iOS 15, macOS 12, *) {
Rectangle()
.fill(
LinearGradient(
@ -217,6 +218,7 @@ struct VideoDetails: View {
)
.zIndex(0)
.frame(maxHeight: 22)
}
#endif
}
}