mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Initial implementation of attachment menu
This commit is contained in:
@@ -534,7 +534,6 @@ public protocol CustomViewControllerNavigationDataSummary: AnyObject {
|
||||
navigationController.filterController(self, animated: animated)
|
||||
} else {
|
||||
self.presentingViewController?.dismiss(animated: false, completion: nil)
|
||||
assertionFailure()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -612,7 +611,7 @@ public protocol CustomViewControllerNavigationDataSummary: AnyObject {
|
||||
if let navigationController = self.navigationController as? NavigationController {
|
||||
navigationController.filterController(self, animated: true)
|
||||
} else {
|
||||
self.presentingViewController?.dismiss(animated: false, completion: nil)
|
||||
self.presentingViewController?.dismiss(animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user