mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed closing of box for passport authorization.
This commit is contained in:
parent
2f58a7d3c4
commit
41e6e32962
1 changed files with 1 additions and 1 deletions
|
@ -2689,7 +2689,7 @@ void FormController::cancel() {
|
||||||
_view->show(Ui::MakeConfirmBox({
|
_view->show(Ui::MakeConfirmBox({
|
||||||
.text = tr::lng_passport_stop_sure(),
|
.text = tr::lng_passport_stop_sure(),
|
||||||
.confirmed = [=] { cancelSure(); },
|
.confirmed = [=] { cancelSure(); },
|
||||||
.cancelled = [=] { cancelAbort(); },
|
.cancelled = [=](Fn<void()> close) { cancelAbort(); close(); },
|
||||||
.confirmText = tr::lng_passport_stop(),
|
.confirmText = tr::lng_passport_stop(),
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue