Skip to content

Commit

Permalink
fix: Correctly show if an account is a bot or not (#322)
Browse files Browse the repository at this point in the history
e35fa1d inadvertently contained some left over debug code that treats
non-bot accounts as bots (for displaying the bot badge) and vice versa.

Fixes #321
  • Loading branch information
nikclayton authored Dec 14, 2023
1 parent 29f9273 commit b294a3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ class AccountActivity :
}
}

if (loadedAccount?.bot == false) {
if (loadedAccount?.bot == true) {
val badgeView = getBadge(
MaterialColors.getColor(
binding.accountBadgeContainer,
Expand Down

0 comments on commit b294a3b

Please sign in to comment.