mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: cleaned up Speed widget by refactoring download/upload to input/output to make better logic for both modules: Disk and Network which have different meanings for these values.
This commit is contained in:
@@ -103,11 +103,11 @@ internal enum StackMode: String {
|
||||
}
|
||||
|
||||
internal let SensorsWidgetValue: [KeyValue_t] = [
|
||||
KeyValue_t(key: "io", value: "Input/Output"),
|
||||
KeyValue_t(key: "oi", value: "Output/Input"),
|
||||
KeyValue_t(key: "oi", value: "output/input"),
|
||||
KeyValue_t(key: "io", value: "input/output"),
|
||||
KeyValue_t(key: "separator", value: "separator"),
|
||||
KeyValue_t(key: "i", value: "Input"),
|
||||
KeyValue_t(key: "o", value: "Output")
|
||||
KeyValue_t(key: "i", value: "input"),
|
||||
KeyValue_t(key: "o", value: "output")
|
||||
]
|
||||
|
||||
internal let SensorsWidgetMode: [KeyValue_t] = [
|
||||
|
||||
Reference in New Issue
Block a user