mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge commit '2af0b2a8b7dc2767c579b3ddad2755cc432efb62' into story-folders
# Conflicts: # MODULE.bazel.lock # submodules/TelegramCore/Sources/TelegramEngine/Messages/StoryListContext.swift # submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift # submodules/TelegramUI/Components/PeerInfo/PeerInfoVisualMediaPaneNode/Sources/PeerInfoStoryPaneNode.swift
This commit is contained in:
@@ -31,7 +31,6 @@ import PeerInfoScreen
|
||||
import PeerInfoStoryGridScreen
|
||||
import ShareWithPeersScreen
|
||||
import ChatEmptyNode
|
||||
//import FaceScanScreen
|
||||
import UndoUI
|
||||
|
||||
private class DetailsChatPlaceholderNode: ASDisplayNode, NavigationDetailsPlaceholderNode {
|
||||
@@ -237,22 +236,6 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
|
||||
self.accountSettingsController = accountSettingsController
|
||||
self.rootTabController = tabBarController
|
||||
self.pushViewController(tabBarController, animated: false)
|
||||
|
||||
// Queue.mainQueue().after(1.0) {
|
||||
// let context = self.context
|
||||
// let infoScreen = AgeVerificationScreen(context: context, completion: { [weak chatListController] proceed in
|
||||
// if proceed {
|
||||
// let scanScreen = FaceScanScreen(context: context, completion: { success in
|
||||
// let controller = UndoOverlayController(presentationData: self.presentationData, content: .actionSucceeded(title: "Age check passed!", text: "You can now view this content.", cancel: nil, destructive: false), elevatedLayout: true, action: { _ in return true })
|
||||
// Queue.mainQueue().after(0.1) {
|
||||
// chatListController?.present(controller, in: .window(.root))
|
||||
// }
|
||||
// })
|
||||
// chatListController?.push(scanScreen)
|
||||
// }
|
||||
// })
|
||||
// chatListController.push(infoScreen)
|
||||
// }
|
||||
}
|
||||
|
||||
public func updateRootControllers(showCallsTab: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user