Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <[email protected]>
  • Loading branch information
sowjanyakch committed Feb 4, 2025
1 parent 22744d0 commit 1e46d8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class MentionAutocompleteItem(
}
}

SOURCE_TEAMS ->{
SOURCE_TEAMS -> {
holder.binding.avatarView.loadTeamAvatar(viewThemeUtils)
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e46d8a

Please sign in to comment.