Don't load more and more pages when filtering

This commit is contained in:
ByteHamster 2022-04-25 22:11:52 +02:00
parent 20363ee41c
commit 65f6cfabe2
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public class AllEpisodesFragment extends EpisodesListFragment {
feedItemFilter = new FeedItemFilter(event.filterValues.toArray(new String[0]));
SharedPreferences prefs = getActivity().getSharedPreferences(PREF_NAME, Context.MODE_PRIVATE);
prefs.edit().putString(PREF_FILTER, StringUtils.join(event.filterValues, ",")).apply();
page = 1;
loadItems();
}