Add setting "Close player when closing video"

This commit is contained in:
Arkadiusz Fal
2022-08-07 13:15:27 +02:00
parent d0e3839040
commit 8e2c30bf00
6 changed files with 26 additions and 15 deletions

View File

@@ -299,7 +299,7 @@ struct VideoPlayerView: View {
@ViewBuilder var playerPlaceholder: some View {
if player.currentItem.isNil {
ZStack(alignment: .topLeading) {
ZStack(alignment: .topTrailing) {
HStack {
Spacer()
VStack {