mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:40:36 +00:00
Use GSThemeDarkMode setting in the theme as the return value instead of it being hard coded
This commit is contained in:
parent
9568ec7fb9
commit
04c72e874c
1 changed files with 2 additions and 1 deletions
|
@ -1341,7 +1341,8 @@ typedef struct {
|
||||||
|
|
||||||
- (BOOL) isDarkMode
|
- (BOOL) isDarkMode
|
||||||
{
|
{
|
||||||
return NO;
|
return [[[self infoDictionary] objectForKey: @"GSThemeDarkMode"]
|
||||||
|
isEqualToString: @"YES"];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue