mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 09:10:04 +02:00
Fix issue #685 - Bouncing Timeline on refresh
This commit is contained in:
parent
e7c3f04fd0
commit
4b1792040e
1 changed files with 1 additions and 2 deletions
|
@ -489,10 +489,9 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
||||||
flagLoading = true;
|
flagLoading = true;
|
||||||
}
|
}
|
||||||
if (direction == DIRECTION.SCROLL_TOP) {
|
if (direction == DIRECTION.SCROLL_TOP) {
|
||||||
binding.recyclerView.scrollToPosition(0);
|
new Handler().postDelayed(() -> binding.recyclerView.scrollToPosition(0), 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue