diff --git a/Tusker/Screens/Utilities/UIViewController+Children.swift b/Tusker/Screens/Utilities/UIViewController+Children.swift index d54f2fd15e..2c1cdc2c1d 100644 --- a/Tusker/Screens/Utilities/UIViewController+Children.swift +++ b/Tusker/Screens/Utilities/UIViewController+Children.swift @@ -50,8 +50,11 @@ extension UIViewController { } func removeViewAndController() { + beginAppearanceTransition(false, animated: false) view.removeFromSuperview() + willMove(toParent: nil) removeFromParent() + endAppearanceTransition() } }