mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-01 05:47:10 +01:00
Fix issue with changing comment sort type on post page
This commit is contained in:
parent
946d35b5d9
commit
0ea491bcfc
@ -791,6 +791,8 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic
|
|||||||
mGlide.clear(mFetchPostInfoImageView);
|
mGlide.clear(mFetchPostInfoImageView);
|
||||||
if (children != null) {
|
if (children != null) {
|
||||||
children.clear();
|
children.clear();
|
||||||
|
pages_loaded = 0;
|
||||||
|
mCommentsAdapter.clearLoadedComments();
|
||||||
}
|
}
|
||||||
this.sortType = sortType.getType();
|
this.sortType = sortType.getType();
|
||||||
if (mSharedPreferences.getBoolean(SharedPreferencesUtils.SAVE_SORT_TYPE, true)) {
|
if (mSharedPreferences.getBoolean(SharedPreferencesUtils.SAVE_SORT_TYPE, true)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user