summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-04-25 22:11:52 +0200
committerByteHamster <info@bytehamster.com>2022-04-25 22:11:52 +0200
commit65f6cfabe2ab5ecaaa30a6bca83e9a71a86a9286 (patch)
treef9e462f9cb686d7a24c28f0a44fa6647b6dc9d30
parent20363ee41c814b14b16999505fa850a0943346dd (diff)
downloadAntennaPod-65f6cfabe2ab5ecaaa30a6bca83e9a71a86a9286.zip
Don't load more and more pages when filtering
-rw-r--r--app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
index 706e47135..cbae077cb 100644
--- a/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
@@ -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();
}