[WIP] Chat Import

This commit is contained in:
Ali
2021-01-22 21:59:03 +04:00
parent 00cea76464
commit 04513a7624
7 changed files with 189 additions and 14 deletions

View File

@@ -1351,6 +1351,9 @@ open class NavigationController: UINavigationController, ContainableController,
}
override open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil) {
if let presentingViewController = self.presentingViewController {
presentingViewController.dismiss(animated: false, completion: nil)
}
if let controller = self.presentedViewController {
if flag {
UIView.animate(withDuration: 0.3, delay: 0.0, options: UIView.AnimationOptions(rawValue: 7 << 16), animations: {