mirror of
https://github.com/FossifyOrg/Contacts.git
synced 2026-02-01 19:22:11 -05:00
Merge pull request #97 from Aga-C/fix-group-contact-source
Fixed contact source chooser while creating a group
This commit is contained in:
@@ -32,8 +32,7 @@ class CreateNewGroupDialog(val activity: BaseSimpleActivity, val callback: (newG
|
||||
|
||||
val contactSources = ArrayList<ContactSource>()
|
||||
ContactsHelper(activity).getContactSources {
|
||||
it.filter { it.type.contains("google", true) }.mapTo(contactSources) { ContactSource(it.name, it.type, it.name) }
|
||||
contactSources.add(activity.getPrivateContactSource())
|
||||
it.mapTo(contactSources) { ContactSource(it.name, it.type, it.publicName) }
|
||||
|
||||
val items = ArrayList<RadioItem>()
|
||||
contactSources.forEachIndexed { index, contactSource ->
|
||||
|
||||
Reference in New Issue
Block a user