fix #582, fixing a dialpad crash

This commit is contained in:
tibbi 2023-04-12 14:42:33 +02:00
parent d16c3183f2
commit bb048a4d33
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:0c4d9860a6'
implementation 'com.github.SimpleMobileTools:Simple-Commons:925e7f9bd7'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1'
}

View File

@ -140,7 +140,7 @@ class DialpadActivity : SimpleActivity() {
dialpad_input.disableKeyboard()
ContactsHelper(this).getContacts { allContacts ->
val contactsWithNumber = allContacts.filter { it.phoneNumbers.isNotEmpty() }.toList() as ArrayList<Contact>
val contactsWithNumber = allContacts.filter { it.phoneNumbers.isNotEmpty() }.toMutableList() as ArrayList<Contact>
gotContacts(contactsWithNumber)
}