mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Moved ConfirmBox to Ui namespace.
This commit is contained in:
@@ -585,7 +585,7 @@ void SetupCloudPassword(
|
||||
*sent = false;
|
||||
}, container->lifetime());
|
||||
};
|
||||
Ui::show(Box<ConfirmBox>(
|
||||
Ui::show(Box<Ui::ConfirmBox>(
|
||||
tr::lng_cloud_password_reset_cancel_sure(tr::now),
|
||||
tr::lng_box_yes(tr::now),
|
||||
tr::lng_box_no(tr::now),
|
||||
@@ -889,7 +889,7 @@ object_ptr<Ui::BoxContent> CloudPasswordAppOutdatedBox() {
|
||||
Core::UpdateApplication();
|
||||
close();
|
||||
};
|
||||
return Box<ConfirmBox>(
|
||||
return Box<Ui::ConfirmBox>(
|
||||
tr::lng_passport_app_out_of_date(tr::now),
|
||||
tr::lng_menu_update(tr::now),
|
||||
callback);
|
||||
|
Reference in New Issue
Block a user