fix: swap 'Merge Local Data' confirm prompt actions
This commit is contained in:
@@ -279,16 +279,14 @@ class AccountMenuCtrl extends PureViewCtrl<{}, AccountMenuState> {
|
|||||||
|
|
||||||
async mergeLocalChanged() {
|
async mergeLocalChanged() {
|
||||||
if (!this.getState().formData.mergeLocal) {
|
if (!this.getState().formData.mergeLocal) {
|
||||||
if (await confirmDialog({
|
this.setFormDataState({
|
||||||
|
mergeLocal: !(await confirmDialog({
|
||||||
text: STRING_ACCOUNT_MENU_UNCHECK_MERGE,
|
text: STRING_ACCOUNT_MENU_UNCHECK_MERGE,
|
||||||
confirmButtonStyle: 'danger'
|
confirmButtonStyle: 'danger'
|
||||||
})) {
|
}))
|
||||||
this.setFormDataState({
|
|
||||||
mergeLocal: true
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
openPasswordWizard() {
|
openPasswordWizard() {
|
||||||
this.close();
|
this.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user