mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-02 04:38:33 +00:00
Fix passcode
This commit is contained in:
parent
d78f5dc991
commit
c9be658241
@ -295,6 +295,10 @@ final class AuthorizedApplicationContext {
|
||||
let _ = (appLockContext.isCurrentlyLocked
|
||||
|> take(1)
|
||||
|> deliverOnMainQueue).start(next: { locked in
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
|
||||
guard !locked else {
|
||||
return
|
||||
}
|
||||
@ -316,8 +320,6 @@ final class AuthorizedApplicationContext {
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if chatIsVisible {
|
||||
return
|
||||
@ -371,6 +373,8 @@ final class AuthorizedApplicationContext {
|
||||
}
|
||||
}))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user