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:
Serhiy Mytrovtsiy
2024-10-26 16:11:39 +02:00
parent 68c45ab604
commit 905ce8fa3d
6 changed files with 156 additions and 132 deletions

View File

@@ -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] = [