This commit is contained in:
Serhiy Mytrovtsiy
2025-01-26 14:32:51 +01:00
parent 479b812f84
commit 9325e2001c
23 changed files with 41 additions and 48 deletions

View File

@@ -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)

View File

@@ -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)