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