We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2b2ca commit a35b9dcCopy full SHA for a35b9dc
Classes/Controllers/PBWebController.m
@@ -63,17 +63,6 @@ - (void) awakeFromNib
63
[self.view.mainFrame loadRequest:request];
64
}
65
66
-- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
67
-{
68
- if (context != PBEffectiveAppearanceContext) {
69
- return [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
70
- }
71
-
72
- if (@available(macOS 10.14, *)) {
73
- [self setWebAppearance:((NSApplication *)object).effectiveAppearance];
74
75
-}
76
77
- (WebScriptObject *) script
78
{
79
return self.view.windowScriptObject;
0 commit comments