feat: added a new United widget that visualizes: CPU, GPU, RAM, and disk utilization

This commit is contained in:
Serhiy Mytrovtsiy
2025-07-25 19:03:28 +02:00
parent 35e6141021
commit 3a59807044
8 changed files with 161 additions and 2 deletions

View File

@@ -195,6 +195,7 @@ public class GPU: Module {
guard let blobData = try? JSONEncoder().encode(selectedGPU) else { return }
self.userDefaults?.set(blobData, forKey: "GPU@InfoReader")
WidgetCenter.shared.reloadTimelines(ofKind: GPU_entry.kind)
WidgetCenter.shared.reloadTimelines(ofKind: "UnitedWidget")
}
}
}