Update submodules

This commit is contained in:
Ilya Laktyushin 2019-03-19 19:04:03 +04:00
parent 3fc772fef7
commit 6f19a46102
2 changed files with 6 additions and 6 deletions

View File

@ -649,7 +649,7 @@ final class AuthorizedApplicationContext {
if !didAppear { if !didAppear {
Queue.mainQueue().after(0.15, { Queue.mainQueue().after(0.15, {
(strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root), with: ViewControllerPresentationArguments.init(presentationAnimation: .modalSheet)) (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root), with: ViewControllerPresentationArguments(presentationAnimation: .modalSheet))
}) })
} }
} else { } else {
@ -698,7 +698,7 @@ final class AuthorizedApplicationContext {
if let strongSelf = self{ if let strongSelf = self{
for text in alerts { for text in alerts {
let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 } let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 }
let controller = standardTextAlertController(theme: AlertControllerTheme(presentationTheme: presentationData.theme), title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})]) let controller = textAlertController(context: strongSelf.context, title: nil, text: text, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_OK, action: {})])
(strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root)) (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root))
} }
} }
@ -783,7 +783,7 @@ final class AuthorizedApplicationContext {
navigateToMessage() navigateToMessage()
} else { } else {
let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 } let presentationData = strongSelf.context.sharedContext.currentPresentationData.with { $0 }
let controller = standardTextAlertController(theme: AlertControllerTheme(presentationTheme: presentationData.theme), title: presentationData.strings.WatchRemote_AlertTitle, text: presentationData.strings.WatchRemote_AlertText, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_Cancel, action: {}), TextAlertAction(type: .genericAction, title: presentationData.strings.WatchRemote_AlertOpen, action:navigateToMessage)]) let controller = textAlertController(context: strongSelf.context, title: presentationData.strings.WatchRemote_AlertTitle, text: presentationData.strings.WatchRemote_AlertText, actions: [TextAlertAction(type: .defaultAction, title: presentationData.strings.Common_Cancel, action: {}), TextAlertAction(type: .genericAction, title: presentationData.strings.WatchRemote_AlertOpen, action:navigateToMessage)])
(strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root)) (strongSelf.rootController.viewControllers.last as? ViewController)?.present(controller, in: .window(.root))
} }
} else { } else {
@ -840,7 +840,7 @@ final class AuthorizedApplicationContext {
} }
func openRootSearch() { func openRootSearch() {
self.rootController.openChatsSearch() self.rootController.openChatsController(activateSearch: true)
} }
func openRootCompose() { func openRootCompose() {

View File

@ -4176,7 +4176,7 @@ Unused sets are archived when you add more.";
"SettingsSearch.Synonyms.Appearance.Title" = ""; "SettingsSearch.Synonyms.Appearance.Title" = "";
"SettingsSearch.Synonyms.Appearance.TextSize" = ""; "SettingsSearch.Synonyms.Appearance.TextSize" = "";
"SettingsSearch.Synonyms.Appearance.ChatBackground" = ""; "SettingsSearch.Synonyms.Appearance.ChatBackground" = "Wallpaper";
"SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = ""; "SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = "";
"SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = ""; "SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = "";
"SettingsSearch.Synonyms.Appearance.AutoNightTheme" = ""; "SettingsSearch.Synonyms.Appearance.AutoNightTheme" = "";