From 1d18e2c75ba35bb304c8dbac1823642b3bcf96d1 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 16 Oct 2021 11:53:15 +0800 Subject: Fix post filter issue in anonymous mode. --- .../ml/docilealligator/infinityforreddit/fragments/PostFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java index 1d4ca62f..c578c437 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java @@ -771,8 +771,8 @@ public class PostFragment extends Fragment implements FragmentCommunicator { postFragmentId += multiRedditPath.hashCode(); } - usage = PostFilterUsage.HOME_TYPE; - nameOfUsage = PostFilterUsage.NO_USAGE; + usage = PostFilterUsage.MULTIREDDIT_TYPE; + nameOfUsage = multiRedditPath; String sort = mSortTypeSharedPreferences.getString(SharedPreferencesUtils.SORT_TYPE_MULTI_REDDIT_POST_BASE + multiRedditPath, SortType.Type.BEST.name()); if (sort.equals(SortType.Type.CONTROVERSIAL.name()) || sort.equals(SortType.Type.TOP.name())) { -- cgit v1.2.3