mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Close PiP when a passcode lock is enabled.
This commit is contained in:
@@ -1118,10 +1118,11 @@ void Application::updateWindowTitles() {
|
||||
}
|
||||
|
||||
void Application::lockByPasscode() {
|
||||
_passcodeLock = true;
|
||||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||
_passcodeLock = true;
|
||||
w->setupPasscodeLock();
|
||||
});
|
||||
hideMediaView();
|
||||
}
|
||||
|
||||
void Application::maybeLockByPasscode() {
|
||||
|
Reference in New Issue
Block a user