fix: don't focus video controls when dpad video controls disabled

This commit is contained in:
edde746
2026-01-27 15:20:26 +01:00
parent ffc7d88ea1
commit 9ea8f637cd
@@ -255,6 +255,7 @@ class _PlexVideoControlsState extends State<PlexVideoControls> with WindowListen
/// Focus play/pause button if we're in keyboard navigation mode (desktop/TV only)
void _focusPlayPauseIfKeyboardMode() {
if (!mounted) return;
if (!_videoPlayerNavigationEnabled) return;
final isMobile = PlatformDetector.isMobile(context) && !PlatformDetector.isTV();
if (!isMobile && InputModeTracker.isKeyboardMode(context)) {
_desktopControlsKey.currentState?.requestPlayPauseFocus();