Fix unintended [mismatched] show-replies preference (with key force-reset) (#2568)

* Fix unintended [mismatched] show-replies preference and add a comment to prevent confusion.

* Change the key on TAB_FILTER_HOME_REPLIES to reset everyone's value here once.
This commit is contained in:
mcclure 2022-05-29 13:21:33 -04:00 committed by GitHub
commit 06e32f703a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -81,6 +81,7 @@ abstract class TimelineViewModel(
this.tags = tags
if (kind == Kind.HOME) {
// Note the variable is "true if filter" but the underlying preference/settings text is "true if show"
filterRemoveReplies =
!sharedPreferences.getBoolean(PrefKeys.TAB_FILTER_HOME_REPLIES, true)
filterRemoveReblogs =