From b294a3bace4eab9a6518fdcd54cffbad6b2b3d05 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Thu, 14 Dec 2023 11:27:49 +0100 Subject: [PATCH] fix: Correctly show if an account is a bot or not (#322) e35fa1db inadvertently contained some left over debug code that treats non-bot accounts as bots (for displaying the bot badge) and vice versa. Fixes #321 --- .../main/java/app/pachli/components/account/AccountActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/pachli/components/account/AccountActivity.kt b/app/src/main/java/app/pachli/components/account/AccountActivity.kt index 2d90f5d18..f3f9e6e5f 100644 --- a/app/src/main/java/app/pachli/components/account/AccountActivity.kt +++ b/app/src/main/java/app/pachli/components/account/AccountActivity.kt @@ -772,7 +772,7 @@ class AccountActivity : } } - if (loadedAccount?.bot == false) { + if (loadedAccount?.bot == true) { val badgeView = getBadge( MaterialColors.getColor( binding.accountBadgeContainer,