mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-18 13:02:06 +00:00
Merge pull request #1563 from michaelschattgen/feature/export-file-name-share
Make file name of exports consistent
This commit is contained in:
commit
c616a4f43c
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ public class ImportExportPreferencesFragment extends PreferencesFragment {
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue