Remove tvOS close button from MPV debug stats overlay

Menu remote already dismisses the overlay via TVPlayerView's exit
command handler, so the in-overlay close button is redundant.
This commit is contained in:
Arkadiusz Fal
2026-05-10 00:29:54 +02:00
parent c778ca5d06
commit 4935fbdb83
2 changed files with 1 additions and 50 deletions

View File

@@ -286,8 +286,7 @@ struct TVPlayerView: View {
MPVDebugOverlay(
stats: debugStats,
isVisible: $isDebugOverlayVisible,
isLandscape: true,
onClose: { hideDebugOverlay() }
isLandscape: true
)
.transition(.opacity.combined(with: .scale(scale: 0.95)))
}