Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.

This commit is contained in:
23rd
2022-02-27 11:23:20 +03:00
parent d5a44a2ba4
commit 5718789d53
89 changed files with 796 additions and 733 deletions
@@ -86,7 +86,7 @@ void ConfirmPhone::resolve(
)).done([=] {
_checkRequestId = 0;
controller->show(
Box<Ui::InformBox>(
Ui::MakeInformBox(
tr::lng_confirm_phone_success(
tr::now,
lt_phone,
@@ -120,7 +120,7 @@ void ConfirmPhone::resolve(
? tr::lng_confirm_phone_link_invalid(tr::now)
: Lang::Hard::ServerError();
controller->show(
Box<Ui::InformBox>(errorText),
Ui::MakeInformBox(errorText),
Ui::LayerOption::CloseOther);
}).handleFloodErrors().send();
}