Fixed closing of box for passport authorization.

This commit is contained in:
23rd 2022-05-10 06:35:03 +03:00
parent 2f58a7d3c4
commit 41e6e32962
1 changed files with 1 additions and 1 deletions

View File

@ -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 {