Skip to content

Commit

Permalink
cerate a SquirrelLayout class to store layout parameters to support d…
Browse files Browse the repository at this point in the history
…ark mode
  • Loading branch information
LEOYoon-Tsaw committed Aug 30, 2020
1 parent 7838dad commit 1a4b684
Show file tree
Hide file tree
Showing 2 changed files with 301 additions and 418 deletions.
2 changes: 1 addition & 1 deletion SquirrelApplicationDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ -(void)loadSchemaSpecificSettings:(NSString *)schemaId {
return;
}
SquirrelConfig *schema = [[SquirrelConfig alloc] init];
if ([schema openWithSchemaId:schemaId baseConfig:self.config] &&
if ([schema openWithSchemaId:schemaId baseConfig:self.config] &&
[schema hasSection:@"style"]) {
[self.panel updateConfig:schema forDarkMode:NO];
} else {
Expand Down

0 comments on commit 1a4b684

Please sign in to comment.