aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-16 03:53:15 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-16 03:53:15 +0000
commit1d18e2c75ba35bb304c8dbac1823642b3bcf96d1 (patch)
tree449cfb815a6bb71e6d6a1e48c29623e9cbde3904
parent6910947dee75b856bf6cff44ca382bdfc7366479 (diff)
downloadinfinity-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.java4
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())) {