mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-26 04:52:29 +01:00
Enable play/pause with space key even when not in fullscreen player
This commit is contained in:
parent
34ab93c9bd
commit
2934841152
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user