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
This commit is contained in:
Nik Clayton 2023-12-14 11:27:49 +01:00 committed by GitHub
parent 29f9273c01
commit b294a3bace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ class AccountActivity :
}
}
if (loadedAccount?.bot == false) {
if (loadedAccount?.bot == true) {
val badgeView = getBadge(
MaterialColors.getColor(
binding.accountBadgeContainer,