use a human readable default filename at exporting

This commit is contained in:
tibbi 2018-02-11 12:30:30 +01:00
parent 0ca4f418eb
commit 6400735463
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ExportContactsDialog(val activity: SimpleActivity, val path: String, priva
init {
val view = (activity.layoutInflater.inflate(R.layout.dialog_export_contacts, null) as ViewGroup).apply {
export_contacts_folder.text = activity.humanizePath(path)
export_contacts_filename.setText("contacts_${System.currentTimeMillis() / 1000}")
export_contacts_filename.setText("contacts_${activity.getCurrentFormattedDateTime()}")
ContactsHelper(activity).getContactSources {
it.mapTo(contactSources, { it.copy() })