From 33c473824bb3da4abfd7f346e53db2648f19395f Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Sat, 11 Jun 2022 20:25:43 +0800 Subject: Fix Settings->Video->Easier to Watch in Full Screen not working in card layout 2. --- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java index 41d09e99..8bf9d801 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -11,7 +11,6 @@ import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.os.Handler; -import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -4129,7 +4128,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter fullscreenButton.performClick()); videoPlayer.setOnClickListener(view -> { - if (videoPlayer.isControllerVisible()) { + if (mEasierToWatchInFullScreen && videoPlayer.isControllerVisible()) { fullscreenButton.performClick(); } }); -- cgit v1.2.3