Merge pull request #5856 from ByteHamster/load-more-filter

Don't load more and more pages when filtering
This commit is contained in:
ByteHamster 2022-04-26 19:36:31 +02:00 committed by GitHub
commit c1d766d205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
}