Version 4.8.3: Fix statup crash with passcode.

This commit is contained in:
John Preston 2023-06-01 11:43:18 +04:00
parent 1e9087db4a
commit bcf91e2f2c

View File

@ -1161,8 +1161,10 @@ void Application::lockByPasscode() {
enumerateWindows([&](not_null<Window::Controller*> w) {
w->setupPasscodeLock();
});
if (_mediaView) {
_mediaView->close();
}
}
void Application::maybeLockByPasscode() {
preventOrInvoke([=] {