Skip to content

Commit da1778c

Browse files
committed
NSAppKitVersionNumber10_9 is missing. Hardcoded the number instead.
1 parent 48dfe7f commit da1778c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shuttle/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ - (void) awakeFromNib {
2525
altIcon = [NSImage imageNamed:@"StatusIconAlt"];
2626

2727
// Check for AppKit Version, add support for darkmode if > 10.9
28-
BOOL oldAppKitVersion = (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_9);
28+
BOOL oldAppKitVersion = (floor(NSAppKitVersionNumber) <= 1265);
2929

3030
if (!oldAppKitVersion)
3131
{

0 commit comments

Comments
 (0)