Split getReceiverOrSenderPhoneNumbers in MessageDetailsDialog in multiple lines

This commit is contained in:
Ensar Sarajčić 2023-07-10 16:51:37 +02:00
parent 28a19a09ce
commit 45416c07bd
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ class MessageDetailsDialog(val activity: BaseSimpleActivity, val message: Messag
}
private fun Message.getReceiverOrSenderPhoneNumbers(): String {
return participants.joinToString(", ") { it.phoneNumbers.first().value }
return participants.joinToString(", ") {
it.phoneNumbers.first().value
}
}
private fun Message.getSIM(availableSIMs: List<SubscriptionInfo>): String {