replace empty space by - for debug app name
This commit is contained in:
parent
f63cd57567
commit
4860ed9131
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ const val POP_BACK_STACK_EXCLUSIVE = 0
|
||||||
|
|
||||||
fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
|
fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
|
||||||
val timestamp = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(Date())
|
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(
|
selectTxtFileToWrite(
|
||||||
activity = requireActivity(),
|
activity = requireActivity(),
|
||||||
|
@ -181,7 +181,7 @@ fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityRes
|
||||||
|
|
||||||
fun Activity.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
|
fun Activity.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher<Intent>) {
|
||||||
val timestamp = SimpleDateFormat("yyyy-MM-dd", Locale.getDefault()).format(Date())
|
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(
|
selectTxtFileToWrite(
|
||||||
activity = this,
|
activity = this,
|
||||||
|
|
Loading…
Reference in a new issue