mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Show toast message if backup was created successfully
This commit is contained in:
parent
0af48f8bfa
commit
33ff7da7af
2 changed files with 2 additions and 0 deletions
|
@ -438,6 +438,7 @@ public class PreferencesFragment extends PreferenceFragmentCompat {
|
|||
if (_prefs.isBackupsEnabled()) {
|
||||
try {
|
||||
_vault.backup();
|
||||
Toast.makeText(getActivity(), R.string.backup_successful, Toast.LENGTH_LONG).show();
|
||||
} catch (VaultManagerException e) {
|
||||
e.printStackTrace();
|
||||
Dialogs.showErrorDialog(getContext(), R.string.backup_error, e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue