2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-07 01:55:12 +00:00

Allow returning from new account setup.

This commit is contained in:
John Preston
2020-06-23 18:55:08 +04:00
parent c92c15883d
commit 55ec4ebf86
13 changed files with 146 additions and 61 deletions

View File

@@ -259,7 +259,7 @@ void CodeWidget::codeSubmitDone(const MTPauth_Authorization &result) {
} else {
getData()->termsLock = Window::TermsLock();
}
goReplace<SignupWidget>();
goReplace<SignupWidget>(Animate::Forward);
});
}
@@ -358,7 +358,7 @@ void CodeWidget::gotPassword(const MTPaccount_Password &result) {
getData()->hasRecovery = d.is_has_recovery();
getData()->pwdHint = qs(d.vhint().value_or_empty());
getData()->pwdNotEmptyPassport = d.is_has_secure_values();
goReplace<PasswordCheckWidget>();
goReplace<PasswordCheckWidget>(Animate::Forward);
}
void CodeWidget::submit() {