mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor player fix
This commit is contained in:
parent
2583be9401
commit
ae144ea82f
@ -316,6 +316,8 @@ struct VideoPlayerView: View {
|
|||||||
}
|
}
|
||||||
.id(player.currentVideo?.cacheKey)
|
.id(player.currentVideo?.cacheKey)
|
||||||
.transition(.opacity)
|
.transition(.opacity)
|
||||||
|
} else {
|
||||||
|
VStack {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -392,6 +394,8 @@ struct VideoPlayerView: View {
|
|||||||
.background(colorScheme == .dark ? Color.black : Color.white)
|
.background(colorScheme == .dark ? Color.black : Color.white)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
} else {
|
||||||
|
VStack {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onChange(of: fullScreenPlayer) { newValue in
|
.onChange(of: fullScreenPlayer) { newValue in
|
||||||
|
Loading…
Reference in New Issue
Block a user