mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-03 18:13:41 +00:00
Merge branch 'master' of github.com:peter-iakovlev/Display
This commit is contained in:
@@ -816,6 +816,9 @@ open class NavigationController: UINavigationController, ContainableController,
|
||||
var poppedControllers: [UIViewController] = []
|
||||
var found = false
|
||||
var controllers = self.viewControllers
|
||||
if !controllers.contains(where: { $0 === viewController }) {
|
||||
return nil
|
||||
}
|
||||
while !controllers.isEmpty {
|
||||
if controllers[controllers.count - 1] === viewController {
|
||||
found = true
|
||||
|
||||
@@ -78,7 +78,7 @@ open class ViewControllerPresentationArguments {
|
||||
return self.preferNavigationUIHidden
|
||||
}
|
||||
|
||||
public private(set) var presentationArguments: Any?
|
||||
public var presentationArguments: Any?
|
||||
|
||||
public var tabBarItemDebugTapAction: (() -> Void)?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user