mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Implement multiboost reassign box.
This commit is contained in:
@@ -567,12 +567,10 @@ void PasscodeBox::validateEmail(
|
||||
} else if (error.type() == u"EMAIL_HASH_EXPIRED"_q) {
|
||||
const auto weak = Ui::MakeWeak(this);
|
||||
_clearUnconfirmedPassword.fire({});
|
||||
if (weak) {
|
||||
auto box = Ui::MakeInformBox({
|
||||
Lang::Hard::EmailConfirmationExpired()
|
||||
});
|
||||
weak->getDelegate()->show(
|
||||
std::move(box),
|
||||
if (const auto strong = weak.data()) {
|
||||
strong->getDelegate()->show(
|
||||
Ui::MakeInformBox(
|
||||
Lang::Hard::EmailConfirmationExpired()),
|
||||
Ui::LayerOption::CloseOther);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user