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

@@ -25,7 +25,7 @@ public class Portal: NSStackView, Portal_p {
}
init(_ name: ModuleType) {
self.name = name.rawValue
self.name = name.stringValue
super.init(frame: NSRect( x: 0, y: 0, width: Constants.Popup.width, height: Constants.Popup.portalHeight))

View File

@@ -33,7 +33,7 @@ internal class Settings: NSStackView, Settings_v {
private var selectedSensor: String = "Average System Total"
public init(_ module: ModuleType) {
self.title = module.rawValue
self.title = module.stringValue
self.hidState = SystemKit.shared.device.platform == .m1 ? true : false
super.init(frame: NSRect.zero)