mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Force-hide media viewer on passcode lock.
This commit is contained in:
parent
8ae373b654
commit
abc32c63b0
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ void Application::lockByPasscode() {
|
||||||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||||
w->setupPasscodeLock();
|
w->setupPasscodeLock();
|
||||||
});
|
});
|
||||||
hideMediaView();
|
_mediaView->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::maybeLockByPasscode() {
|
void Application::maybeLockByPasscode() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue