diff --git a/Stats/Views/Settings.swift b/Stats/Views/Settings.swift index 6161fdcf..ba0edff5 100644 --- a/Stats/Views/Settings.swift +++ b/Stats/Views/Settings.swift @@ -34,8 +34,8 @@ class SettingsWindow: NSWindow, NSWindowDelegate { self.collectionBehavior = .moveToActiveSpace self.titlebarAppearsTransparent = true self.appearance = NSAppearance(named: .darkAqua) -// self.center() - self.setIsVisible(true) + self.center() + self.setIsVisible(false) let windowController = NSWindowController() windowController.window = self @@ -189,7 +189,7 @@ private class SettingsView: NSView { self.navigationView?.addSubview(menu) } self.modules = list - self.openMenu("Disk") +// self.openMenu("CPU") } @objc private func menuCallback(_ notification: Notification) {