2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Passcode lock button added to DialogsWidget.

This commit is contained in:
John Preston
2016-11-04 22:50:35 +03:00
parent 3a599e0752
commit e693a98bd4
36 changed files with 812 additions and 777 deletions

View File

@@ -750,12 +750,12 @@ AppClass::AppClass() : QObject() {
DEBUG_LOG(("Application Info: showing."));
if (state == Local::ReadMapPassNeeded) {
_window->setupPasscode(false);
_window->setupPasscode();
} else {
if (MTP::authedId()) {
_window->setupMain(false);
_window->setupMain();
} else {
_window->setupIntro(false);
_window->setupIntro();
}
}
_window->firstShow();