Added simple handle of EMAIL_NOT_SETUP error from email login section.

This commit is contained in:
23rd
2025-11-23 03:34:48 +03:00
parent c0bbb669e0
commit 6590f3b741

View File

@@ -107,6 +107,12 @@ void LoginEmail::setupContent() {
newInput->setFocus();
newInput->showError();
newInput->selectAll();
} else if (type == u"EMAIL_NOT_SETUP"_q) {
error->show();
error->setText(Lang::Hard::ServerError());
newInput->setFocus();
newInput->showError();
newInput->selectAll();
}
};