mirror of
https://github.com/yattee/yattee.git
synced 2026-06-10 08:44:19 +00:00
Add tvOS setting to close video with Menu button
When enabled, the Siri remote Menu button stops playback and clears the queue instead of only collapsing the player, and the explicit top-bar close (X) button is hidden.
This commit is contained in:
@@ -667,6 +667,9 @@ struct TVPlayerView: View {
|
||||
} else if controlsVisible {
|
||||
// Fifth: hide controls
|
||||
hideControls()
|
||||
} else if appEnvironment?.settingsManager.tvOSMenuButtonClosesVideo == true {
|
||||
// Sixth (Menu-closes mode): fully close the video like the xmark button
|
||||
closeVideo()
|
||||
} else {
|
||||
// Sixth: dismiss player (controls already hidden)
|
||||
dismissPlayer()
|
||||
|
||||
Reference in New Issue
Block a user