mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
use a new model ContactSource
This commit is contained in:
@ -227,9 +227,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
"com.android.huawei.phone",
|
||||
"Local Phone Account")
|
||||
|
||||
ContactsHelper(this).getContactTypes {
|
||||
ContactsHelper(this).getContactSources {
|
||||
var localAccountType = ""
|
||||
it.forEach {
|
||||
it.map { it.type }.forEach {
|
||||
if (localAccountTypes.contains(it)) {
|
||||
localAccountType = it
|
||||
}
|
||||
|
Reference in New Issue
Block a user