Change file names with the new brand.
This commit is contained in:
parent
93fe00a299
commit
541e1fc4cc
|
@ -41,7 +41,7 @@ class KeysExporter(private val session: Session) {
|
|||
val data = awaitCallback<ByteArray> { session.cryptoService().exportRoomKeys(password, it) }
|
||||
withContext(Dispatchers.IO) {
|
||||
val parentDir = context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS)
|
||||
val file = File(parentDir, "riotx-keys-" + System.currentTimeMillis() + ".txt")
|
||||
val file = File(parentDir, "element-keys-" + System.currentTimeMillis() + ".txt")
|
||||
|
||||
writeToFile(data, file)
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ class BootstrapSaveRecoveryKeyFragment @Inject constructor(
|
|||
val intent = Intent(Intent.ACTION_CREATE_DOCUMENT)
|
||||
intent.addCategory(Intent.CATEGORY_OPENABLE)
|
||||
intent.type = "text/plain"
|
||||
intent.putExtra(Intent.EXTRA_TITLE, "riot-recovery-key.txt")
|
||||
intent.putExtra(Intent.EXTRA_TITLE, "element-recovery-key.txt")
|
||||
|
||||
try {
|
||||
sharedViewModel.handle(BootstrapActions.SaveReqQueryStarted)
|
||||
|
|
Loading…
Reference in New Issue