From 40251607e593f16dc4eae30569e9408f1da0ccf1 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 29 Jan 2024 17:19:32 +0100 Subject: [PATCH] Fix peertuble toggle button --- .../fedilab/android/peertube/activities/PeertubeActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java index 5f2fe6af..802f87d2 100644 --- a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java +++ b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeActivity.java @@ -2227,7 +2227,7 @@ public class PeertubeActivity extends BasePeertubeActivity implements CommentLis if (autoFullscreen && !fullScreenMode) { setFullScreen(); } - player.setPlayWhenReady(true); + player.setPlayWhenReady(!player.isPlaying()); }); } View exo_next = controlView.findViewById(R.id.exo_next);