mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Remove App::app(), App::uploader(), App::api().
Also use Auth() instead of AuthSession::Current*().
This commit is contained in:
@@ -345,7 +345,7 @@ void PasscodeBox::onSave(bool force) {
|
||||
} else {
|
||||
cSetPasscodeBadTries(0);
|
||||
Local::setPasscode(pwd.toUtf8());
|
||||
AuthSession::Current().checkAutoLock();
|
||||
Auth().checkAutoLock();
|
||||
closeBox();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user