replace empty space by - for debug app name

This commit is contained in:
Claire G 2022-02-25 10:04:30 +01:00
parent f63cd57567
commit 4860ed9131
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ const val POP_BACK_STACK_EXCLUSIVE = 0
fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
val timestamp = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(Date())
val appName = getString(R.string.app_name)
val appName = getString(R.string.app_name).replace(" ", "-")
selectTxtFileToWrite(
activity = requireActivity(),
@ -181,7 +181,7 @@ fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityRes
fun Activity.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
val timestamp = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(Date())
val appName = getString(R.string.app_name)
val appName = getString(R.string.app_name).replace(" ", "-")
selectTxtFileToWrite(
activity = this,