mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed user color for the CPU widget (#1429)
This commit is contained in:
@@ -69,7 +69,7 @@ public class CPU: Module {
|
||||
}
|
||||
private var userColor: NSColor {
|
||||
let color = Color.secondBlue
|
||||
let key = Store.shared.string(key: "\(self.config.name)_systemColor", defaultValue: color.key)
|
||||
let key = Store.shared.string(key: "\(self.config.name)_userColor", defaultValue: color.key)
|
||||
if let c = Color.fromString(key).additional as? NSColor {
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user