Skip to content

Commit

Permalink
scroll fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearfog committed Dec 21, 2023
1 parent 957df8b commit 0e800e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void onChanged(String s) {

case NOTIFY_SCROLL_TOP:
if (layoutManager.getItemCount() > 0) {
if (settings.chronologicalTimelineEnabled()) {
if (layoutManager.getReverseLayout()) {
list.smoothScrollToPosition(layoutManager.getItemCount() - 1);
} else {
list.smoothScrollToPosition(0);
Expand Down

0 comments on commit 0e800e8

Please sign in to comment.