kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #7014 from litetex/fix-double-tapping-replay-button
Fixed double tapping the replay buttonpull/7024/head
commit
46f74b908a
|
@ -2765,7 +2765,9 @@ public final class Player implements
|
|||
Log.d(TAG, "onPlayPause() called");
|
||||
}
|
||||
|
||||
if (getPlayWhenReady()) {
|
||||
if (getPlayWhenReady()
|
||||
// When state is completed (replay button is shown) then (re)play and do not pause
|
||||
&& currentState != STATE_COMPLETED) {
|
||||
pause();
|
||||
} else {
|
||||
play();
|
||||
|
|
Ładowanie…
Reference in New Issue