Revert "Remove the first confirm dialog while taking backups, its useless"

This reverts commit 62af410ddb.
This commit is contained in:
Arne 2023-08-26 21:21:10 +02:00
parent fa91e99a0a
commit e1c94aea5e

View file

@ -822,7 +822,12 @@ public class SettingsActivity extends XmppActivity implements OnSharedPreference
} }
private void createBackup() { private void createBackup() {
createBackup(true); new AlertDialog.Builder(this)
.setTitle(getString(R.string.pref_create_backup))
.setMessage(getString(R.string.create_monocles_backup))
.setPositiveButton(R.string.yes, (dialog, whichButton) -> {
createBackup(true);
}).show();
} }
private void createBackup(boolean notify) { private void createBackup(boolean notify) {