diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index 011ff9333..1f2f0fd3c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -245,7 +245,7 @@ class MainActivity : SimpleActivity(), NavigationListener { private fun exportDatabase() { FilePickerDialog(this, pickFile = false) { val source = getDatabasePath(DBHelper.DB_NAME) - val destination = File(it, DBHelper.DB_NAME) + val destination = File(it, "calendar_${System.currentTimeMillis()}.db") handleSAFDialog(destination) { Thread({ if (source.exists()) {