mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
v2.11.27
This commit is contained in:
@@ -26,7 +26,7 @@ internal class Portal: NSStackView, Portal_p {
|
||||
}
|
||||
|
||||
public init(_ module: ModuleType) {
|
||||
self.name = module.rawValue
|
||||
self.name = module.stringValue
|
||||
|
||||
super.init(frame: NSRect.zero)
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ internal class Settings: NSStackView, Settings_v {
|
||||
private var timeFormat: String = "short"
|
||||
|
||||
public init(_ module: ModuleType) {
|
||||
self.title = module.rawValue
|
||||
self.title = module.stringValue
|
||||
self.numberOfProcesses = Store.shared.int(key: "\(self.title)_processes", defaultValue: self.numberOfProcesses)
|
||||
self.timeFormat = Store.shared.string(key: "\(self.title)_timeFormat", defaultValue: self.timeFormat)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user