mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Closed beta 10019011: fixed build in Xcode, langs updated.
This commit is contained in:
@@ -287,7 +287,7 @@ void MainWindow::checkAutoLock() {
|
||||
|
||||
App::app()->checkLocalTime();
|
||||
auto ms = getms(true), idle = psIdleTime(), should = Global::AutoLock() * 1000LL;
|
||||
if (idle >= should || (_shouldLockAt > 0 && ms > _shouldLockAt + 3000ULL)) {
|
||||
if (idle >= should || (_shouldLockAt > 0 && ms > _shouldLockAt + 3000LL)) {
|
||||
setupPasscode();
|
||||
} else {
|
||||
_shouldLockAt = ms + (should - idle);
|
||||
|
Reference in New Issue
Block a user