From c119f2f8ce4a40d1df673eb7df4bcf8cf3868f90 Mon Sep 17 00:00:00 2001 From: Paul Weber Date: Sun, 23 Feb 2025 09:33:14 +0100 Subject: [PATCH] =?UTF-8?q?display=20the=20following=20badge=20on=20other?= =?UTF-8?q?=20profile=20pages=20in=20wellbeing=20mode,=E2=80=A6=20(#4940)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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 --- .../tusky/components/account/AccountActivity.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt b/app/src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt index 98602b2a0..61779f83f 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt @@ -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