Skip to content

Commit a35b9dc

Browse files
committed
Missed one
1 parent ba2b2ca commit a35b9dc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Classes/Controllers/PBWebController.m

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,6 @@ - (void) awakeFromNib
6363
[self.view.mainFrame loadRequest:request];
6464
}
6565

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-
7766
- (WebScriptObject *) script
7867
{
7968
return self.view.windowScriptObject;

0 commit comments

Comments
 (0)