mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-04 21:09:53 +02:00
Go back to top of the feed after changing sort type or refreshing.
This commit is contained in:
@@ -1371,6 +1371,7 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
}
|
||||
this.sortType = sortType;
|
||||
mPostViewModel.changeSortType(sortType);
|
||||
goBackToTop();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1446,6 +1447,7 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
||||
}
|
||||
saveCache();
|
||||
mAdapter.refresh();
|
||||
goBackToTop();
|
||||
}
|
||||
|
||||
private void showErrorView(int stringResId) {
|
||||
|
Reference in New Issue
Block a user