mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Disable gradient on iOS 14
This commit is contained in:
@@ -207,6 +207,7 @@ struct VideoDetails: View {
|
|||||||
.zIndex(1)
|
.zIndex(1)
|
||||||
|
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
|
if #available(iOS 15, macOS 12, *) {
|
||||||
Rectangle()
|
Rectangle()
|
||||||
.fill(
|
.fill(
|
||||||
LinearGradient(
|
LinearGradient(
|
||||||
@@ -217,6 +218,7 @@ struct VideoDetails: View {
|
|||||||
)
|
)
|
||||||
.zIndex(0)
|
.zIndex(0)
|
||||||
.frame(maxHeight: 22)
|
.frame(maxHeight: 22)
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user