aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-06-11 12:25:43 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-06-11 12:25:43 +0000
commit33c473824bb3da4abfd7f346e53db2648f19395f (patch)
tree68946c07617e2bbd1f6025f15e789b7d26af71ff /app/src
parent2ebc797a3b1c903105b00775b74e67b8e7c785a4 (diff)
downloadinfinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar.gz
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar.bz2
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar.lz
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar.xz
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.tar.zst
infinity-for-reddit-33c473824bb3da4abfd7f346e53db2648f19395f.zip
Fix Settings->Video->Easier to Watch in Full Screen not working in card layout 2.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java3
1 files changed, 1 insertions, 2 deletions
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<Post, RecyclerVie
previewImageView.setOnClickListener(view -> fullscreenButton.performClick());
videoPlayer.setOnClickListener(view -> {
- if (videoPlayer.isControllerVisible()) {
+ if (mEasierToWatchInFullScreen && videoPlayer.isControllerVisible()) {
fullscreenButton.performClick();
}
});