feat: added placeholder for RAM and Disk macOS widgets

This commit is contained in:
Serhiy Mytrovtsiy
2024-07-31 19:32:29 +02:00
parent d7cb4f5ddc
commit 442e064d88
2 changed files with 18 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import Kit
public struct Disk_entry: TimelineEntry {
public static let kind = "DiskWidget"
public static var snapshot: Disk_entry = Disk_entry()
public static var snapshot: Disk_entry = Disk_entry(value: drive(size: 494384795648, free: 251460125440))
public var date: Date {
Calendar.current.date(byAdding: .second, value: 5, to: Date())!
@@ -103,7 +103,7 @@ public struct DiskWidget: Widget {
}
}
.configurationDisplayName("Disk widget")
.description("Displays Disk stats")
.description("Displays disk stats")
.supportedFamilies([.systemSmall])
}
}