Fixed closing of box for passport authorization.
This commit is contained in:
parent
2f58a7d3c4
commit
41e6e32962
|
@ -2689,7 +2689,7 @@ void FormController::cancel() {
|
|||
_view->show(Ui::MakeConfirmBox({
|
||||
.text = tr::lng_passport_stop_sure(),
|
||||
.confirmed = [=] { cancelSure(); },
|
||||
.cancelled = [=] { cancelAbort(); },
|
||||
.cancelled = [=](Fn<void()> close) { cancelAbort(); close(); },
|
||||
.confirmText = tr::lng_passport_stop(),
|
||||
}));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue