mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Version 4.8.3: Fix statup crash with passcode.
This commit is contained in:
@@ -1161,8 +1161,10 @@ void Application::lockByPasscode() {
|
|||||||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||||
w->setupPasscodeLock();
|
w->setupPasscodeLock();
|
||||||
});
|
});
|
||||||
|
if (_mediaView) {
|
||||||
_mediaView->close();
|
_mediaView->close();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Application::maybeLockByPasscode() {
|
void Application::maybeLockByPasscode() {
|
||||||
preventOrInvoke([=] {
|
preventOrInvoke([=] {
|
||||||
|
Reference in New Issue
Block a user