2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +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

@@ -257,12 +257,12 @@ void MainWindow::clearPasscodeLock() {
}
}
void MainWindow::setupIntro() {
void MainWindow::setupIntro(Intro::EnterPoint point) {
auto animated = (_main || _passcodeLock);
auto bg = animated ? grabInner() : QPixmap();
clearWidgets();
_intro.create(bodyWidget(), &account());
_intro.create(bodyWidget(), &account(), point);
if (_passcodeLock) {
_intro->hide();
} else {