mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-02-06 05:53:25 +01:00
scroll fix
This commit is contained in:
parent
957df8b4ef
commit
0e800e84c7
@ -113,7 +113,7 @@ public abstract class ListFragment extends Fragment implements OnRefreshListener
|
||||
|
||||
case NOTIFY_SCROLL_TOP:
|
||||
if (layoutManager.getItemCount() > 0) {
|
||||
if (settings.chronologicalTimelineEnabled()) {
|
||||
if (layoutManager.getReverseLayout()) {
|
||||
list.smoothScrollToPosition(layoutManager.getItemCount() - 1);
|
||||
} else {
|
||||
list.smoothScrollToPosition(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user