diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2022-06-17 08:42:18 +0000 |
---|---|---|
committer | Docile-Alligator <chineseperson5@gmail.com> | 2022-06-17 08:42:18 +0000 |
commit | 14235a11afadad877c5e3504f354d102ac8816a9 (patch) | |
tree | f27460d775eca28a6facde92f8692002638dedff /app/src/main/java/ml/docilealligator/infinityforreddit | |
parent | bd70a166eda649007075adb31b20b289e97331d1 (diff) | |
download | infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar.gz infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar.bz2 infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar.lz infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar.xz infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.tar.zst infinity-for-reddit-14235a11afadad877c5e3504f354d102ac8816a9.zip |
Fix an issue in Separate Post and Comments in Portrait Mode.
Diffstat (limited to 'app/src/main/java/ml/docilealligator/infinityforreddit')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java | 3 |
1 files changed, 2 insertions, 1 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 700a6a84..5562cdb8 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java @@ -281,7 +281,8 @@ 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)))) { + || (mPostDetailsSharedPreferences.getBoolean(SharedPreferencesUtils.SEPARATE_POST_AND_COMMENTS_IN_PORTRAIT_MODE, false) + && getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE))) { if (mCommentsRecyclerView != null) { mCommentsRecyclerView.setVisibility(View.GONE); mCommentsRecyclerView = null; |