Skip to content

Commit

Permalink
Make file name of exports consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelschattgen committed Dec 2, 2024
1 parent 337cb74 commit 51f656d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 51f656d

Please sign in to comment.