diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-10-16 03:53:15 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-10-16 03:53:15 +0000 |
commit | 1d18e2c75ba35bb304c8dbac1823642b3bcf96d1 (patch) | |
tree | 449cfb815a6bb71e6d6a1e48c29623e9cbde3904 | |
parent | 6910947dee75b856bf6cff44ca382bdfc7366479 (diff) | |
download | infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar.gz infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar.bz2 infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar.lz infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar.xz infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.tar.zst infinity-for-reddit-1d18e2c75ba35bb304c8dbac1823642b3bcf96d1.zip |
Fix post filter issue in anonymous mode.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
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())) { |