mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 14:02:48 +00:00
Merge commit '87905b13f69e30908faa6ee7d287dc853f369f37'
This commit is contained in:
commit
bdb433d5e3
@ -210,8 +210,12 @@ final class AuthorizedApplicationContext {
|
||||
if updatedState.isActive {
|
||||
if strongSelf.passcodeController == nil {
|
||||
let presentAnimated = previousState != nil && previousState!.isActive
|
||||
let controller = PasscodeEntryController(context: strongSelf.context, challengeData: updatedState.challengeData, enableBiometrics: updatedState.enableBiometrics, arguments: PasscodeEntryControllerPresentationArguments(animated: presentAnimated, lockIconInitialFrame: {
|
||||
return CGRect()
|
||||
let controller = PasscodeEntryController(context: strongSelf.context, challengeData: updatedState.challengeData, enableBiometrics: updatedState.enableBiometrics, arguments: PasscodeEntryControllerPresentationArguments(animated: presentAnimated, lockIconInitialFrame: { [weak self] in
|
||||
if let strongSelf = self, let lockViewFrame = strongSelf.rootController.chatListController?.lockViewFrame {
|
||||
return lockViewFrame
|
||||
} else {
|
||||
return CGRect()
|
||||
}
|
||||
}))
|
||||
strongSelf.passcodeController = controller
|
||||
|
||||
|
||||
@ -4236,6 +4236,8 @@ Unused sets are archived when you add more.";
|
||||
|
||||
"ChatList.UndoArchiveTitle" = "Chat Archived";
|
||||
"ChatList.UndoArchiveText" = "Muted chats will stay archived after new messages arrive.";
|
||||
"ChatList.UndoArchiveHiddenTitle" = "Archive Hidden";
|
||||
"ChatList.UndoArchiveHiddenText" = "Swipe down to see archive.";
|
||||
"ChatList.ArchivedChatsTitle" = "Archived Chats";
|
||||
|
||||
"PasscodeSettings.PasscodeOptions" = "Passcode Options";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user