mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-25 15:01:38 +00:00
Fixed missing viewWillAppear for TabBarController children
This commit is contained in:
parent
3ca633d219
commit
2fe25a6784
@ -207,6 +207,12 @@ open class TabBarController: ViewController {
|
||||
}
|
||||
}
|
||||
|
||||
override open func viewWillAppear(_ animated: Bool) {
|
||||
if let currentController = self.currentController {
|
||||
currentController.viewWillAppear(animated)
|
||||
}
|
||||
}
|
||||
|
||||
override open func viewDidAppear(_ animated: Bool) {
|
||||
if let currentController = self.currentController {
|
||||
currentController.viewDidAppear(animated)
|
||||
|
Loading…
x
Reference in New Issue
Block a user