use a human readable default filename at exporting
This commit is contained in:
parent
0ca4f418eb
commit
6400735463
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class ExportContactsDialog(val activity: SimpleActivity, val path: String, priva
|
||||||
init {
|
init {
|
||||||
val view = (activity.layoutInflater.inflate(R.layout.dialog_export_contacts, null) as ViewGroup).apply {
|
val view = (activity.layoutInflater.inflate(R.layout.dialog_export_contacts, null) as ViewGroup).apply {
|
||||||
export_contacts_folder.text = activity.humanizePath(path)
|
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 {
|
ContactsHelper(activity).getContactSources {
|
||||||
it.mapTo(contactSources, { it.copy() })
|
it.mapTo(contactSources, { it.copy() })
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue