mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Remove unused toString().
This commit is contained in:
parent
3c1e1090e7
commit
6130a0a654
1 changed files with 1 additions and 9 deletions
|
@ -21,12 +21,4 @@ data class MultiPickerContactType(
|
||||||
val photoUri: String?,
|
val photoUri: String?,
|
||||||
val phoneNumberList: List<String>,
|
val phoneNumberList: List<String>,
|
||||||
val emailList: List<String>
|
val emailList: List<String>
|
||||||
) {
|
)
|
||||||
private val CONTACT_FORMAT = "Name: %s, Photo: %s, Phones: %s, Emails: %s"
|
|
||||||
|
|
||||||
override fun toString(): String {
|
|
||||||
val phoneNumberString = phoneNumberList.joinToString(separator = ", ", prefix = "[", postfix = "]")
|
|
||||||
val emailString = emailList.joinToString(separator = ", ", prefix = "[", postfix = "]")
|
|
||||||
return String.format(CONTACT_FORMAT, displayName, photoUri, phoneNumberString, emailString)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue