mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Update submodules
This commit is contained in:
parent
3fc772fef7
commit
6f19a46102
@ -649,7 +649,7 @@ final class AuthorizedApplicationContext {
|
||||
|
||||
if !didAppear {
|
||||
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 {
|
||||
@ -698,7 +698,7 @@ final class AuthorizedApplicationContext {
|
||||
if let strongSelf = self{
|
||||
for text in alerts {
|
||||
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))
|
||||
}
|
||||
}
|
||||
@ -783,7 +783,7 @@ final class AuthorizedApplicationContext {
|
||||
navigateToMessage()
|
||||
} else {
|
||||
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))
|
||||
}
|
||||
} else {
|
||||
@ -840,7 +840,7 @@ final class AuthorizedApplicationContext {
|
||||
}
|
||||
|
||||
func openRootSearch() {
|
||||
self.rootController.openChatsSearch()
|
||||
self.rootController.openChatsController(activateSearch: true)
|
||||
}
|
||||
|
||||
func openRootCompose() {
|
||||
|
||||
@ -4133,7 +4133,7 @@ Unused sets are archived when you add more.";
|
||||
"SettingsSearch.Synonyms.Notifications.ContactJoined" = "";
|
||||
"SettingsSearch.Synonyms.Notifications.ResetAllNotifications" = "";
|
||||
|
||||
"SettingsSearch.Synonyms.Privacy.Title" = "";
|
||||
"SettingsSearch.Synonyms.Privacy.Title" = " ";
|
||||
"SettingsSearch.Synonyms.Privacy.BlockedUsers" = "";
|
||||
"SettingsSearch.Synonyms.Privacy.LastSeen" = "";
|
||||
"SettingsSearch.Synonyms.Privacy.ProfilePhoto" = "";
|
||||
@ -4176,7 +4176,7 @@ Unused sets are archived when you add more.";
|
||||
|
||||
"SettingsSearch.Synonyms.Appearance.Title" = "";
|
||||
"SettingsSearch.Synonyms.Appearance.TextSize" = "";
|
||||
"SettingsSearch.Synonyms.Appearance.ChatBackground" = "";
|
||||
"SettingsSearch.Synonyms.Appearance.ChatBackground" = "Wallpaper";
|
||||
"SettingsSearch.Synonyms.Appearance.ChatBackground.SetColor" = "";
|
||||
"SettingsSearch.Synonyms.Appearance.ChatBackground.Custom" = "";
|
||||
"SettingsSearch.Synonyms.Appearance.AutoNightTheme" = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user