2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Moved ScreenIsLocked variable from facades to application.

This commit is contained in:
23rd
2021-05-27 17:47:51 +03:00
parent 2ed3543b53
commit 16db8468fa
9 changed files with 20 additions and 15 deletions

View File

@@ -590,6 +590,14 @@ void Application::startEmojiImageLoader() {
}, _lifetime);
}
void Application::setScreenIsLocked(bool locked) {
_screenIsLocked = locked;
}
bool Application::screenIsLocked() const {
return _screenIsLocked;
}
void Application::setDefaultFloatPlayerDelegate(
not_null<Media::Player::FloatDelegate*> delegate) {
Expects(!_defaultFloatPlayerDelegate == !_floatPlayers);