Minor player fix

This commit is contained in:
Arkadiusz Fal 2023-05-25 14:53:33 +02:00
parent 2583be9401
commit ae144ea82f

View File

@ -316,6 +316,8 @@ struct VideoPlayerView: View {
}
.id(player.currentVideo?.cacheKey)
.transition(.opacity)
} else {
VStack {}
}
}
#endif
@ -392,6 +394,8 @@ struct VideoPlayerView: View {
.background(colorScheme == .dark ? Color.black : Color.white)
}
#endif
} else {
VStack {}
}
}
.onChange(of: fullScreenPlayer) { newValue in