Fixed file extension to .vcf

This commit is contained in:
merkost 2023-07-20 12:34:18 +10:00
parent 8b815df884
commit 03d6662e5b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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">