mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-12 09:30:39 +01:00
avoid seeing duplicate import dialog at third party file opening
This commit is contained in:
parent
d6f8bd43bf
commit
9089edf04c
@ -293,6 +293,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||||||
|
|
||||||
if (intent?.action == Intent.ACTION_VIEW && intent.data != null) {
|
if (intent?.action == Intent.ACTION_VIEW && intent.data != null) {
|
||||||
tryImportContactsFromFile(intent.data)
|
tryImportContactsFromFile(intent.data)
|
||||||
|
intent.data = null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user