|
|
|
@ -198,7 +198,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@available(iOS, obsoleted: 17.0)
|
|
|
|
|
private func swizzlePresentationController() {
|
|
|
|
|
guard #unavailable(iOS 17.0) else {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
var originalIMP: IMP?
|
|
|
|
|
let imp = imp_implementationWithBlock({ (self: UIPresentationController) in
|
|
|
|
|
let new = UITraitCollection(pureBlackDarkMode: self.presentingViewController.traitCollection.pureBlackDarkMode)
|
|
|
|
|