mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
7401572523
commit
7f8cf4b9fd
@ -166,7 +166,7 @@ class MentionAutocompleteItem(
|
||||
}
|
||||
}
|
||||
|
||||
SOURCE_TEAMS ->{
|
||||
SOURCE_TEAMS -> {
|
||||
holder.binding.avatarView.loadTeamAvatar(viewThemeUtils)
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user