mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 13:35:33 +03:00
Turn bot logo into black
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
1b86d7ff1e
commit
2b7d04b775
2 changed files with 5 additions and 2 deletions
|
@ -197,7 +197,8 @@ public class ConversationItem extends AbstractFlexibleItem<ConversationItem.Conv
|
|||
.apply(RequestOptions.bitmapTransform(new CircleCrop()))
|
||||
.into(holder.dialogLastMessageUserAvatar);
|
||||
} else {
|
||||
TextDrawable drawable = TextDrawable.builder().beginConfig().bold().endConfig().buildRound(">", context.getResources().getColor(R.color.nc_grey));
|
||||
TextDrawable drawable =
|
||||
TextDrawable.builder().beginConfig().bold().endConfig().buildRound(">", context.getResources().getColor(R.color.black));
|
||||
holder.dialogLastMessageUserAvatar.setImageDrawable(drawable);
|
||||
|
||||
}
|
||||
|
|
|
@ -110,7 +110,9 @@ public class MagicIncomingTextMessageViewHolder
|
|||
|
||||
messageUserAvatarView.getHierarchy().setPlaceholderImage(DisplayUtils.getRoundedDrawable(layerDrawable));
|
||||
} else if (message.getActorType().equals("bots")) {
|
||||
TextDrawable drawable = TextDrawable.builder().beginConfig().bold().endConfig().buildRound(">", context.getResources().getColor(R.color.nc_grey));
|
||||
TextDrawable drawable =
|
||||
TextDrawable.builder().beginConfig().bold().endConfig().buildRound(">",
|
||||
context.getResources().getColor(R.color.black));
|
||||
messageUserAvatarView.setVisibility(View.VISIBLE);
|
||||
messageUserAvatarView.getHierarchy().setPlaceholderImage(drawable);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue