forked from mirror/monocles_chat_clean
Revert "Remove the first confirm dialog while taking backups, its useless"
This reverts commit 62af410ddb
.
This commit is contained in:
parent
fa91e99a0a
commit
e1c94aea5e
1 changed files with 6 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue