diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/ManageAutoBackupsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/ManageAutoBackupsDialog.kt index b5677528..8aedcd8e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/ManageAutoBackupsDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/dialogs/ManageAutoBackupsDialog.kt @@ -76,7 +76,7 @@ class ManageAutoBackupsDialog(private val activity: SimpleActivity, onSuccess: ( when { filename.isEmpty() -> activity.toast(R.string.empty_name) filename.isAValidFilename() -> { - val file = File(backupFolder, "$filename.ics") + val file = File(backupFolder, "$filename.vcf") if (file.exists() && !file.canWrite()) { activity.toast(R.string.name_taken) return@setOnClickListener diff --git a/app/src/main/res/layout/dialog_manage_automatic_backups.xml b/app/src/main/res/layout/dialog_manage_automatic_backups.xml index 6816bd4a..21690ff2 100644 --- a/app/src/main/res/layout/dialog_manage_automatic_backups.xml +++ b/app/src/main/res/layout/dialog_manage_automatic_backups.xml @@ -35,7 +35,7 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/activity_margin" android:layout_marginEnd="@dimen/activity_margin" - android:hint="@string/filename_without_json" + android:hint="@string/filename_without_vcf" app:endIconDrawable="@drawable/ic_info_vector" app:endIconMode="custom">