mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
v2.11.27
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user