Fix double click for pausing and exit fullscreen

This commit is contained in:
Thomas 2020-10-28 15:03:07 +01:00
parent 824c4e0cbb
commit 852cfee310
1 changed files with 0 additions and 1 deletions

View File

@ -1074,7 +1074,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
public void onBackPressed() { public void onBackPressed() {
if( player != null && player.isPlaying() && fullScreenMode) { if( player != null && player.isPlaying() && fullScreenMode) {
player.setPlayWhenReady(false); player.setPlayWhenReady(false);
return;
} }
if( fullScreenMode) { if( fullScreenMode) {
closeFullscreenDialog(); closeFullscreenDialog();