mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-16 19:40:43 +01:00
Fixed file extension to .vcf
This commit is contained in:
parent
8b815df884
commit
03d6662e5b
@ -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
|
||||
|
@ -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">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user