mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Use some methods from lib_base
This commit is contained in:
@@ -24,6 +24,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "chat_helpers/emoji_keywords.h"
|
||||
#include "chat_helpers/stickers_emoji_image_loader.h"
|
||||
#include "base/platform/base_platform_info.h"
|
||||
#include "base/platform/base_platform_last_input.h"
|
||||
#include "platform/platform_specific.h"
|
||||
#include "mainwindow.h"
|
||||
#include "dialogs/dialogs_entry.h"
|
||||
@@ -807,7 +808,7 @@ void Application::updateNonIdle() {
|
||||
|
||||
crl::time Application::lastNonIdleTime() const {
|
||||
return std::max(
|
||||
Platform::LastUserInputTime().value_or(0),
|
||||
base::Platform::LastUserInputTime().value_or(0),
|
||||
_lastNonIdleTime);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user