mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
65707f2d34
commit
c08a004d39
@ -166,7 +166,7 @@ class MentionAutocompleteItem(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCE_TEAMS ->{
|
SOURCE_TEAMS -> {
|
||||||
holder.binding.avatarView.loadTeamAvatar(viewThemeUtils)
|
holder.binding.avatarView.loadTeamAvatar(viewThemeUtils)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ object DisplayUtils {
|
|||||||
} else {
|
} else {
|
||||||
chip.setChipIconResource(R.drawable.ic_circular_group)
|
chip.setChipIconResource(R.drawable.ic_circular_group)
|
||||||
}
|
}
|
||||||
if(type == "circle"){
|
if (type == "circle") {
|
||||||
chip.setChipIconResource(R.drawable.icon_team)
|
chip.setChipIconResource(R.drawable.icon_team)
|
||||||
}
|
}
|
||||||
chip.setBounds(0, 0, chip.intrinsicWidth, chip.intrinsicHeight)
|
chip.setBounds(0, 0, chip.intrinsicWidth, chip.intrinsicHeight)
|
||||||
|
@ -107,7 +107,7 @@ class MessageUtils(val context: Context) {
|
|||||||
val individualHashMap = message.messageParameters!![key]
|
val individualHashMap = message.messageParameters!![key]
|
||||||
if (individualHashMap != null) {
|
if (individualHashMap != null) {
|
||||||
when (individualHashMap["type"]) {
|
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) {
|
val chip = if (individualHashMap["id"] == message.activeUser!!.userId) {
|
||||||
R.xml.chip_you
|
R.xml.chip_you
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user