mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-14 10:30:46 +01:00
fix #582, fixing a dialpad crash
This commit is contained in:
parent
d16c3183f2
commit
bb048a4d33
@ -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'
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user