Hide player on video end only on tvOS

This commit is contained in:
Arkadiusz Fal 2022-03-26 15:12:06 +01:00
parent cc7bb83e74
commit c8fa972a61

View File

@ -556,8 +556,6 @@ final class PlayerModel: ObservableObject {
controller?.playerView.dismiss(animated: false) { [weak self] in controller?.playerView.dismiss(animated: false) { [weak self] in
self?.controller?.dismiss(animated: true) self?.controller?.dismiss(animated: true)
} }
#else
hide()
#endif #endif
} else { } else {
advanceToNextItem() advanceToNextItem()