Use GSThemeDarkMode setting in the theme as the return value instead of it being hard coded

This commit is contained in:
Gregory John Casamento 2025-01-08 07:45:01 -05:00
parent 9568ec7fb9
commit 04c72e874c

View file

@ -1341,7 +1341,8 @@ typedef struct {
- (BOOL) isDarkMode
{
return NO;
return [[[self infoDictionary] objectForKey: @"GSThemeDarkMode"]
isEqualToString: @"YES"];
}
@end