mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Fix an issue in Separate Post and Comments in Portrait Mode.
This commit is contained in:
parent
bd70a166ed
commit
14235a11af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user