mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Translation improvements
This commit is contained in:
@@ -848,6 +848,11 @@ open class NavigationController: UINavigationController, ContainableController,
|
||||
}
|
||||
}
|
||||
|
||||
if self._keepModalDismissProgress {
|
||||
modalStyleOverlayTransitionFactor = 0.0
|
||||
self._keepModalDismissProgress = false
|
||||
}
|
||||
|
||||
topModalDismissProgress = max(topModalDismissProgress, modalStyleOverlayTransitionFactor)
|
||||
|
||||
switch layout.metrics.widthClass {
|
||||
@@ -1358,6 +1363,7 @@ open class NavigationController: UINavigationController, ContainableController,
|
||||
self._viewControllersPromise.set(self.viewControllers)
|
||||
}
|
||||
|
||||
public var _keepModalDismissProgress = false
|
||||
public func presentOverlay(controller: ViewController, inGlobal: Bool = false, blockInteraction: Bool = false) {
|
||||
let container = NavigationOverlayContainer(controller: controller, blocksInteractionUntilReady: blockInteraction, controllerRemoved: { [weak self] controller in
|
||||
guard let strongSelf = self else {
|
||||
@@ -1385,6 +1391,7 @@ open class NavigationController: UINavigationController, ContainableController,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
strongSelf.updateContainersNonReentrant(transition: .immediate)
|
||||
}, statusBarUpdated: { [weak self] transition in
|
||||
guard let strongSelf = self else {
|
||||
|
||||
Reference in New Issue
Block a user