mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-27 05:17:38 +00:00
Enable play/pause with space key even when not in fullscreen player
This commit is contained in:
@@ -3752,12 +3752,10 @@ public final class Player implements
|
||||
default:
|
||||
break;
|
||||
case KeyEvent.KEYCODE_SPACE:
|
||||
if (isFullscreen) {
|
||||
playPause();
|
||||
if (isPlaying()) {
|
||||
hideControls(0, 0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BACK:
|
||||
if (DeviceUtils.isTv(context) && isControlsVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user