mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
feat: added a new NetworkChartViewV2 chart. Which merges 2 line charts. Moved the disk and network charts in the popup to the new chart.
This commit is contained in:
@@ -432,7 +432,6 @@ class ApplicationSettings: NSStackView {
|
||||
|
||||
@objc private func toggleDock(_ sender: NSButton) {
|
||||
let state = sender.state
|
||||
|
||||
Store.shared.set(key: "dockIcon", value: state == NSControl.StateValue.on)
|
||||
let dockIconStatus = state == NSControl.StateValue.on ? NSApplication.ActivationPolicy.regular : NSApplication.ActivationPolicy.accessory
|
||||
NSApp.setActivationPolicy(dockIconStatus)
|
||||
|
||||
Reference in New Issue
Block a user