mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-07 01:45:39 +00:00
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
This commit is contained in:
@@ -351,10 +351,11 @@ void CodeWidget::gotPassword(const MTPaccount_Password &result) {
|
||||
Core::UpdateApplication();
|
||||
close();
|
||||
};
|
||||
Ui::show(Box<Ui::ConfirmBox>(
|
||||
tr::lng_passport_app_out_of_date(tr::now),
|
||||
tr::lng_menu_update(tr::now),
|
||||
callback));
|
||||
Ui::show(Ui::MakeConfirmBox({
|
||||
.text = tr::lng_passport_app_out_of_date(),
|
||||
.confirmed = callback,
|
||||
.confirmText = tr::lng_menu_update(),
|
||||
}));
|
||||
return;
|
||||
}
|
||||
goReplace<PasswordCheckWidget>(Animate::Forward);
|
||||
|
Reference in New Issue
Block a user