mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-31 01:47:56 +00:00
Enable play/pause with space key even when not in fullscreen player
This commit is contained in:
@@ -3752,11 +3752,9 @@ public final class Player implements
|
||||
default:
|
||||
break;
|
||||
case KeyEvent.KEYCODE_SPACE:
|
||||
if (isFullscreen) {
|
||||
playPause();
|
||||
if (isPlaying()) {
|
||||
hideControls(0, 0);
|
||||
}
|
||||
playPause();
|
||||
if (isPlaying()) {
|
||||
hideControls(0, 0);
|
||||
}
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BACK:
|
||||
|
Reference in New Issue
Block a user