Skip to content

Commit 7b5c1e9

Browse files
committed
Fixed status item text color for light appearance.
1 parent e1e32a0 commit 7b5c1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hot/Classes/ApplicationDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class ApplicationDelegate: NSObject, NSApplicationDelegate
208208
}
209209
else
210210
{
211-
let color = self.log.speedLimit?.intValue ?? 100 < 60 && UserDefaults.standard.bool( forKey: "colorizeStatusItemText" ) ? NSColor.orange : NSColor.white
211+
let color = self.log.speedLimit?.intValue ?? 100 < 60 && UserDefaults.standard.bool( forKey: "colorizeStatusItemText" ) ? NSColor.orange : NSColor.controlTextColor
212212

213213
self.statusItem?.button?.attributedTitle = NSAttributedString( string: title, attributes: [ .foregroundColor : color ] )
214214
}

0 commit comments

Comments
 (0)