From 51f656dd6b3df59e12a55a1055495038f02bef19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Sch=C3=A4ttgen?= Date: Mon, 2 Dec 2024 18:06:12 +0100 Subject: [PATCH] Make file name of exports consistent --- .../fragments/preferences/ImportExportPreferencesFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/beemdevelopment/aegis/ui/fragments/preferences/ImportExportPreferencesFragment.java b/app/src/main/java/com/beemdevelopment/aegis/ui/fragments/preferences/ImportExportPreferencesFragment.java index 36bf71f95a..f544bf6f2f 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/ui/fragments/preferences/ImportExportPreferencesFragment.java +++ b/app/src/main/java/com/beemdevelopment/aegis/ui/fragments/preferences/ImportExportPreferencesFragment.java @@ -296,7 +296,7 @@ private void startExport() { boolean encrypt = checkBoxEncrypt.isChecked(); try { VaultBackupManager.FileInfo fileInfo = getExportFileInfo(pos, encrypt); - file = File.createTempFile(fileInfo.getFilename() + "-", "." + fileInfo.getExtension(), getExportCacheDir()); + file = new File(getExportCacheDir(), fileInfo.toString()); } catch (IOException e) { e.printStackTrace(); Dialogs.showErrorDialog(requireContext(), R.string.exporting_vault_error, e);