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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user