diff --git a/Sources/EeveeSpotify/DarkPopUps.x.swift b/Sources/EeveeSpotify/DarkPopUps.x.swift index 3866f6f..d356645 100644 --- a/Sources/EeveeSpotify/DarkPopUps.x.swift +++ b/Sources/EeveeSpotify/DarkPopUps.x.swift @@ -36,8 +36,8 @@ class SPTEncorePopUpContainerHook: ClassHook { return orig.containedView() } - func supportedInterfaceOrientations() -> UIInterfaceOrientationMask { + func viewDidAppear(_ animated: Bool) { + orig.viewDidAppear(animated) containedView().uiView().backgroundColor = UIColor(Color(hex: "#242424")) - return orig.supportedInterfaceOrientations() } }