improve bot badge (#2466)
* improve bot badge * change badge corner radius
This commit is contained in:
parent
e5b58770ce
commit
e9b75119b3
6 changed files with 25 additions and 7 deletions
|
|
@ -575,9 +575,8 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
|
|||
|
||||
if (statusDisplayOptions.showBotOverlay() && isBot) {
|
||||
notificationAvatar.setVisibility(View.VISIBLE);
|
||||
notificationAvatar.setBackgroundColor(0x50ffffff);
|
||||
Glide.with(notificationAvatar)
|
||||
.load(R.drawable.ic_bot_24dp)
|
||||
.load(ContextCompat.getDrawable(notificationAvatar.getContext(), R.drawable.bot_badge))
|
||||
.into(notificationAvatar);
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue