diff --git a/vector/src/main/java/im/vector/app/core/extensions/Fragment.kt b/vector/src/main/java/im/vector/app/core/extensions/Fragment.kt index b157a01e55..a26597809b 100644 --- a/vector/src/main/java/im/vector/app/core/extensions/Fragment.kt +++ b/vector/src/main/java/im/vector/app/core/extensions/Fragment.kt @@ -169,7 +169,7 @@ const val POP_BACK_STACK_EXCLUSIVE = 0 fun Fragment.queryExportKeys(userId: String, activityResultLauncher: ActivityResultLauncher) { 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) { 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,