Fix issue #685 - Bouncing Timeline on refresh

This commit is contained in:
Thomas 2022-12-26 15:14:54 +01:00
parent e7c3f04fd0
commit 4b1792040e

View file

@ -489,10 +489,9 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
flagLoading = true;
}
if (direction == DIRECTION.SCROLL_TOP) {
binding.recyclerView.scrollToPosition(0);
new Handler().postDelayed(() -> binding.recyclerView.scrollToPosition(0), 200);
}
}
/**