Skip to content

Commit

Permalink
Fix theme name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Sep 21, 2022
1 parent e16fc38 commit d716efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/UserPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ - (void)_setUserTheme:(NSString *)userTheme {
}
}

- (BOOL)_validateUserTheme:(id *)value error:(NSError **)error {
- (BOOL)validateUserTheme:(id *)value error:(NSError **)error {
return [*value isKindOfClass:NSString.class];
}

Expand Down

0 comments on commit d716efc

Please sign in to comment.