likely fix for white popups on ipad (#265)

This commit is contained in:
eevee
2024-07-25 19:39:57 +03:00
parent 427c1b7db7
commit 7070ef51e7

View File

@@ -36,8 +36,8 @@ class SPTEncorePopUpContainerHook: ClassHook<UIViewController> {
return orig.containedView()
}
func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
func viewDidAppear(_ animated: Bool) {
orig.viewDidAppear(animated)
containedView().uiView().backgroundColor = UIColor(Color(hex: "#242424"))
return orig.supportedInterfaceOrientations()
}
}