mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-11 00:40:25 +00:00
Pass viewWillDisappear to tab bar controller children
This commit is contained in:
parent
e1c998ca9d
commit
447d0c6e30
@ -208,6 +208,12 @@ open class TabBarController: ViewController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override open func viewWillDisappear(_ animated: Bool) {
|
||||||
|
if let currentController = self.currentController {
|
||||||
|
currentController.viewWillDisappear(animated)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override open func viewWillAppear(_ animated: Bool) {
|
override open func viewWillAppear(_ animated: Bool) {
|
||||||
if let currentController = self.currentController {
|
if let currentController = self.currentController {
|
||||||
currentController.viewWillAppear(animated)
|
currentController.viewWillAppear(animated)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user