mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Hide player on video end only on tvOS
This commit is contained in:
parent
cc7bb83e74
commit
c8fa972a61
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user