mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
Import: fix import of contacts.
This commit is contained in:
parent
9018b6cdd0
commit
c8a81862ea
@ -158,7 +158,7 @@ class LocalContactImportFragment : Fragment() {
|
||||
var localContact: LocalContact? = if (contact.uid == null)
|
||||
null
|
||||
else
|
||||
addressBook.findByUid(contact.uid!!) as LocalContact
|
||||
addressBook.findByUid(contact.uid!!) as LocalContact?
|
||||
|
||||
if (localContact != null) {
|
||||
localContact.updateAsDirty(contact)
|
||||
@ -189,7 +189,7 @@ class LocalContactImportFragment : Fragment() {
|
||||
var localGroup: LocalGroup? = if (group.uid == null)
|
||||
null
|
||||
else
|
||||
addressBook.findByUid(group.uid!!) as LocalGroup
|
||||
addressBook.findByUid(group.uid!!) as LocalGroup?
|
||||
|
||||
if (localGroup != null) {
|
||||
localGroup.updateAsDirty(group, members)
|
||||
|
Loading…
Reference in New Issue
Block a user