diff --git a/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt b/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt index 5a9c064867..a9135443a2 100644 --- a/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt +++ b/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt @@ -21,12 +21,4 @@ data class MultiPickerContactType( val photoUri: String?, val phoneNumberList: List, val emailList: List -) { - 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) - } -} +)