mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-26 07:21:54 +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) {
|
override open func viewDidAppear(_ animated: Bool) {
|
||||||
if let currentController = self.currentController {
|
if let currentController = self.currentController {
|
||||||
currentController.viewDidAppear(animated)
|
currentController.viewDidAppear(animated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user