format code

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-02-04 14:08:43 +01:00 committed by backportbot[bot]
parent 7401572523
commit 7f8cf4b9fd
3 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ class MentionAutocompleteItem(
}
}
SOURCE_TEAMS ->{
SOURCE_TEAMS -> {
holder.binding.avatarView.loadTeamAvatar(viewThemeUtils)
}

View File

@ -176,7 +176,7 @@ object DisplayUtils {
} else {
chip.setChipIconResource(R.drawable.ic_circular_group)
}
if(type == "circle"){
if (type == "circle") {
chip.setChipIconResource(R.drawable.icon_team)
}
chip.setBounds(0, 0, chip.intrinsicWidth, chip.intrinsicHeight)

View File

@ -107,7 +107,7 @@ class MessageUtils(val context: Context) {
val individualHashMap = message.messageParameters!![key]
if (individualHashMap != null) {
when (individualHashMap["type"]) {
"user", "guest", "call", "user-group", "email","circle" -> {
"user", "guest", "call", "user-group", "email", "circle" -> {
val chip = if (individualHashMap["id"] == message.activeUser!!.userId) {
R.xml.chip_you
} else {