Version 1.8.2: Fix passcode unlock.

This commit is contained in:
John Preston 2019-08-20 16:03:21 +03:00
parent ee96d78656
commit a539fad3e2
1 changed files with 3 additions and 6 deletions

View File

@ -199,14 +199,11 @@ void MainWindow::clearPasscodeLock() {
} else if (_main) { } else if (_main) {
_main->showAnimated(bg, true); _main->showAnimated(bg, true);
Core::App().checkStartUrl(); Core::App().checkStartUrl();
} else { } else if (account().sessionExists()) {
account().startMtp();
if (account().sessionExists()) {
setupMain(); setupMain();
} else { } else {
setupIntro(); setupIntro();
} }
}
} }
void MainWindow::setupIntro() { void MainWindow::setupIntro() {