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:
parent
5b482323a0
commit
69e9869fe9
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user