Skip to content

Commit

Permalink
Merge pull request #1563 from michaelschattgen/feature/export-file-na…
Browse files Browse the repository at this point in the history
…me-share

Make file name of exports consistent
  • Loading branch information
alexbakker authored Dec 2, 2024
2 parents 411a677 + 51f656d commit c616a4f
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 c616a4f

Please sign in to comment.