mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Go back to top of the feed after changing sort type or refreshing.
This commit is contained in:
parent
94f08d616a
commit
44ed414f28
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user