mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 12:47:26 +01:00
Fix an issue in lazy mode.
This commit is contained in:
parent
4f40f73c98
commit
c5480bfb98
@ -208,7 +208,7 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
if (mPostRecyclerView.getAdapter() != null) {
|
||||
((PostRecyclerViewAdapter) mPostRecyclerView.getAdapter()).setCanStartActivity(true);
|
||||
}
|
||||
if (isInLazyMode && isLazyModePaused) {
|
||||
if (isInLazyMode) {
|
||||
resumeLazyMode(false);
|
||||
}
|
||||
if (mAdapter != null && mPostRecyclerView != null) {
|
||||
@ -356,9 +356,6 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
}
|
||||
|
||||
isInLazyMode = savedInstanceState.getBoolean(IS_IN_LAZY_MODE_STATE);
|
||||
if (isInLazyMode) {
|
||||
resumeLazyMode(false);
|
||||
}
|
||||
}
|
||||
|
||||
mPostRecyclerView.setOnTouchListener((view, motionEvent) -> {
|
||||
|
Loading…
Reference in New Issue
Block a user