diff --git a/Hot/Classes/ApplicationDelegate.swift b/Hot/Classes/ApplicationDelegate.swift index 3879d8b..cede73f 100644 --- a/Hot/Classes/ApplicationDelegate.swift +++ b/Hot/Classes/ApplicationDelegate.swift @@ -197,9 +197,14 @@ class ApplicationDelegate: NSObject, NSApplicationDelegate { let color: NSColor = { + if UserDefaults.standard.bool( forKey: "colorizeStatusItemText" ) == false + { + return .controlTextColor + } + let limit = self.infoViewController?.speedLimit ?? 100 - if limit > 0 && limit < 60 && UserDefaults.standard.bool( forKey: "colorizeStatusItemText" ) + if limit > 0 && limit < 60 { return .orange }