1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

Enable play/pause with space key even when not in fullscreen player

This commit is contained in:
ktprograms 2021-11-03 08:26:13 +08:00
parent 34ab93c9bd
commit 2934841152

View File

@ -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: