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:
parent
29f9273c01
commit
b294a3bace
@ -772,7 +772,7 @@ class AccountActivity :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loadedAccount?.bot == false) {
|
if (loadedAccount?.bot == true) {
|
||||||
val badgeView = getBadge(
|
val badgeView = getBadge(
|
||||||
MaterialColors.getColor(
|
MaterialColors.getColor(
|
||||||
binding.accountBadgeContainer,
|
binding.accountBadgeContainer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user