mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Merge commit 'a9021e2e8fce61580bc2da9f26c5c5d4557ec4a0'
This commit is contained in:
commit
1567fd1019
@ -238,7 +238,7 @@ final class AuthorizedApplicationContext {
|
||||
} else {
|
||||
strongSelf.unlockedStatePromise.set(.single(false))
|
||||
strongSelf.updateCoveringViewSnaphot(true)
|
||||
strongSelf.mainWindow.coveringView = strongSelf.lockedCoveringView
|
||||
strongSelf.mainWindow.coveringView = strongSelf.passcodeController == nil ? strongSelf.lockedCoveringView : nil
|
||||
strongSelf.rootController.view.isHidden = true
|
||||
strongSelf.context.sharedContext.mediaManager.overlayMediaManager.controller?.view.isHidden = true
|
||||
strongSelf.notificationController.view.isHidden = true
|
||||
@ -246,7 +246,7 @@ final class AuthorizedApplicationContext {
|
||||
} else {
|
||||
if !updatedState.isActive && updatedState.autolockTimeout != nil && isLockable {
|
||||
strongSelf.updateCoveringViewSnaphot(true)
|
||||
strongSelf.mainWindow.coveringView = strongSelf.lockedCoveringView
|
||||
strongSelf.mainWindow.coveringView = strongSelf.passcodeController == nil ? strongSelf.lockedCoveringView : nil
|
||||
strongSelf.rootController.view.isHidden = true
|
||||
strongSelf.context.sharedContext.mediaManager.overlayMediaManager.controller?.view.isHidden = true
|
||||
strongSelf.notificationController.view.isHidden = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user