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:
Serhiy Mytrovtsiy
2024-04-08 16:44:26 +02:00
parent c78319bdec
commit f2d9a491fa
7 changed files with 149 additions and 175 deletions

View File

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