display the following badge on other profile pages in wellbeing mode,… (#4940)
… as requested in #4219 No unit tests failed because of this change, as far as I could see. However, one could add some if necessary. Co-authored-by: Paul Weber <paul@apollo.ai>
This commit is contained in:
parent
cc79aac4c9
commit
c119f2f8ce
1 changed files with 1 additions and 4 deletions
|
|
@ -687,10 +687,7 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, MenuProvide
|
|||
blockingDomain = relation.blockingDomain
|
||||
showingReblogs = relation.showingReblogs
|
||||
|
||||
// If wellbeing mode is enabled, "follows you" text should not be visible
|
||||
val wellbeingEnabled = preferences.getBoolean(PrefKeys.WELLBEING_HIDE_STATS_PROFILE, false)
|
||||
|
||||
binding.accountFollowsYouTextView.visible(relation.followedBy && !wellbeingEnabled)
|
||||
binding.accountFollowsYouTextView.visible(relation.followedBy)
|
||||
|
||||
// because subscribing is Pleroma extension, enable it __only__ when we have non-null subscribing field
|
||||
// it's also now supported in Mastodon 3.3.0rc but called notifying and use different API call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue