Update submodules

This commit is contained in:
Peter 2018-12-19 20:34:21 +03:00
parent a930900c0f
commit e4383a9c9d
5 changed files with 10 additions and 5 deletions

2
.gitmodules vendored
View File

@ -9,7 +9,7 @@ url=../Display.git
url = git@github.com:peter-iakovlev/HockeySDK-iOS.git
[submodule "submodules/libtgvoip"]
path = submodules/libtgvoip
url=git@github.com:peter-iakovlev/libtgvoip.git
url=git@github.com:grishka/libtgvoip.git
[submodule "submodules/lottie-ios"]
path = submodules/lottie-ios
url=git@github.com:peter-iakovlev/lottie-ios.git

View File

@ -1239,7 +1239,12 @@ private enum QueuedWakeup: Int32 {
case let .authorized(context):
context.openUrl(url)
case let .unauthorized(context):
if let secureIdData = parseSecureIdUrl(url) {
if let proxyData = parseProxyUrl(url) {
context.rootController.view.endEditing(true)
let strings = context.applicationContext.currentPresentationData.with({ $0 }).strings
let controller = ProxyServerActionSheetController(theme: defaultPresentationTheme, strings: strings, postbox: context.account.postbox, network: context.account.network, server: proxyData, presentationData: nil)
context.rootController.currentWindow?.present(controller, on: PresentationSurfaceLevel.root, blockInteraction: false, completion: {})
} else if let secureIdData = parseSecureIdUrl(url) {
let strings = context.applicationContext.currentPresentationData.with({ $0 }).strings
let theme = context.rootController.theme
context.rootController.currentWindow?.present(standardTextAlertController(theme: AlertControllerTheme(authTheme: theme), title: nil, text: strings.Passport_NotLoggedInMessage, actions: [TextAlertAction(type: .genericAction, title: strings.Calls_NotNow, action: {

@ -1 +1 @@
Subproject commit cc97fc2fa2a6fd875c2af18cbad65a365e9ffdd0
Subproject commit a7e2581217adaadb0dbe3aa9c94c243facd7f16f

@ -1 +1 @@
Subproject commit 99e75d0f2dc4f76deff6689ff9dd6b848b8312e9
Subproject commit 13708dc151b303c016ae20318e044be5dbce0a6b

@ -1 +1 @@
Subproject commit 138e1f298496a1dc70aa3b3fdd8f4ecf075e9d29
Subproject commit 3841061c98a8207234c85971631ff3af6b4f33b0