mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-18 19:19:33 +01:00
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
799b19d03a
commit
ef71e5f04e
@ -243,7 +243,7 @@ class ParticipantItem(
|
||||
)
|
||||
}
|
||||
|
||||
Participant.ActorType.PHONES ->{
|
||||
Participant.ActorType.PHONES -> {
|
||||
holder.binding.avatarView.loadPhoneAvatar(viewThemeUtils)
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@ import com.nextcloud.talk.models.json.participants.Participant.ActorType.GUESTS
|
||||
import com.nextcloud.talk.models.json.participants.Participant.ActorType.USERS
|
||||
import com.nextcloud.talk.models.json.participants.Participant.ActorType.PHONES
|
||||
|
||||
|
||||
class EnumActorTypeConverter : StringBasedTypeConverter<Participant.ActorType>() {
|
||||
override fun getFromString(string: String?): Participant.ActorType {
|
||||
return when (string) {
|
||||
|
@ -143,7 +143,7 @@ class EnumSystemMessageTypeConverter : StringBasedTypeConverter<ChatMessage.Syst
|
||||
"federated_user_added" -> FEDERATED_USER_ADDED
|
||||
"federated_user_removed" -> FEDERATED_USER_REMOVED
|
||||
"phone_added" -> PHONE_ADDED
|
||||
else -> DUMMY
|
||||
else -> DUMMY
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user