diff --git a/Tusker/Screens/Main/AccountSwitchingContainerViewController.swift b/Tusker/Screens/Main/AccountSwitchingContainerViewController.swift index 4c7a30cd..c30a0837 100644 --- a/Tusker/Screens/Main/AccountSwitchingContainerViewController.swift +++ b/Tusker/Screens/Main/AccountSwitchingContainerViewController.swift @@ -89,3 +89,11 @@ extension AccountSwitchingContainerViewController: TuskerRootViewController { root.performSearch(query: query) } } + +extension AccountSwitchingContainerViewController: BackgroundableViewController { + func sceneDidEnterBackground() { + if let backgroundable = root as? BackgroundableViewController { + backgroundable.sceneDidEnterBackground() + } + } +}