Fix Settings->Video->Easier to Watch in Full Screen not working in card layout 2.

This commit is contained in:
Docile-Alligator 2022-06-11 20:25:43 +08:00
parent 2ebc797a3b
commit 33c473824b

View File

@ -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();
}
});