mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Force-hide media viewer on passcode lock.
This commit is contained in:
@@ -1138,7 +1138,7 @@ void Application::lockByPasscode() {
|
||||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||
w->setupPasscodeLock();
|
||||
});
|
||||
hideMediaView();
|
||||
_mediaView->close();
|
||||
}
|
||||
|
||||
void Application::maybeLockByPasscode() {
|
||||
|
Reference in New Issue
Block a user