mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
fix popups
This commit is contained in:
@@ -26,16 +26,17 @@ class EncoreLabelHook: ClassHook<UIView> {
|
||||
}
|
||||
}
|
||||
|
||||
class SPTEncorePopUpDialogHook: ClassHook<NSObject> {
|
||||
class SPTEncorePopUpDialogHook: ClassHook<UIView> {
|
||||
|
||||
typealias Group = DarkPopUps
|
||||
static let targetName = "SPTEncorePopUpDialog"
|
||||
static let targetName = "_TtCO12EncoreMobile5ViewsP33_5A611B064D744992F9E8B522D8DE459B10ScrollView"
|
||||
|
||||
func uiView() -> UIView {
|
||||
func intrinsicContentSize() -> CGSize {
|
||||
|
||||
let view = orig.uiView()
|
||||
view.backgroundColor = UIColor(Color(hex: "#242424"))
|
||||
if target.accessibilityIdentifier == "PopUp.Dialog" {
|
||||
target.backgroundColor = UIColor(Color(hex: "#242424"))
|
||||
}
|
||||
|
||||
return view
|
||||
return orig.intrinsicContentSize()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user