diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-11-03 02:46:30 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-11-03 02:46:30 +0000 |
commit | 4b81d554a8d5e26d5f81cf6a0f400c2176b327da (patch) | |
tree | 522cbf2d5f72018dc726ef2ca0d9c3aa48144b81 /app/src/main | |
parent | 785bb205f63fd3b269c2450e4b1f0e8a6a34c075 (diff) | |
download | infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar.gz infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar.bz2 infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar.lz infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar.xz infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.tar.zst infinity-for-reddit-4b81d554a8d5e26d5f81cf6a0f400c2176b327da.zip |
Fix Separate posts and comments in portrait mode not working.
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java index baaf1261..8fb165a8 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java @@ -17,7 +17,6 @@ import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; -import android.util.Log; import android.view.HapticFeedbackConstants; import android.view.LayoutInflater; import android.view.Menu; @@ -287,7 +286,7 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic if (!((mPostDetailsSharedPreferences.getBoolean(SharedPreferencesUtils.SEPARATE_POST_AND_COMMENTS_IN_LANDSCAPE_MODE, true) && getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) || (mPostDetailsSharedPreferences.getBoolean(SharedPreferencesUtils.SEPARATE_POST_AND_COMMENTS_IN_PORTRAIT_MODE, false) - && getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE))) { + && getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT))) { if (mCommentsRecyclerView != null) { mCommentsRecyclerView.setVisibility(View.GONE); mCommentsRecyclerView = null; |