mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
Change backup file name and type
This commit is contained in:
parent
c99a544304
commit
934e62916f
@ -313,11 +313,11 @@ private fun <T> ActivityResultLauncher<T>.launchSafely(input: T) {
|
||||
}
|
||||
|
||||
private fun backupFileName(): String {
|
||||
val formatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss")
|
||||
return "${ZonedDateTime.now().format(formatter)}.zip"
|
||||
val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss")
|
||||
return "${ZonedDateTime.now().format(formatter)}.unitto"
|
||||
}
|
||||
|
||||
private const val backupMimeType = "application/zip"
|
||||
private const val backupMimeType = "application/octet-stream"
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
|
Loading…
x
Reference in New Issue
Block a user