Skip to content

Commit f89846e

Browse files
committed
do not check file existence in scoped storage
1 parent 9c622a3 commit f89846e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/ExportContactsDialog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ExportContactsDialog(val activity: SimpleActivity, val path: String, val h
6363
filename.isEmpty() -> activity.toast(R.string.empty_name)
6464
filename.isAValidFilename() -> {
6565
val file = File(realPath, "$filename.vcf")
66-
if (file.exists()) {
66+
if (!hidePath && file.exists()) {
6767
activity.toast(R.string.name_taken)
6868
return@setOnClickListener
6969
}

0 commit comments

Comments
 (0)