Fix AccountSwtichingContainerViewController not sending sceneDidEnterBackground to children

This commit is contained in:
Shadowfacts 2021-08-15 10:37:04 -04:00
parent 71b6f1bdf0
commit ba0d179de5
1 changed files with 8 additions and 0 deletions

View File

@ -89,3 +89,11 @@ extension AccountSwitchingContainerViewController: TuskerRootViewController {
root.performSearch(query: query) root.performSearch(query: query)
} }
} }
extension AccountSwitchingContainerViewController: BackgroundableViewController {
func sceneDidEnterBackground() {
if let backgroundable = root as? BackgroundableViewController {
backgroundable.sceneDidEnterBackground()
}
}
}