Streak Freeze Feature Implementation
Nucleic-Session: 89DB7BC1-F74C-4768-BC7B-25F898265E0E
This commit is contained in:
@@ -171,6 +171,9 @@ struct StreakBadge: View {
|
|||||||
/// GitHub-style activity grid: columns = weeks (old→new), rows = Sun…Sat.
|
/// GitHub-style activity grid: columns = weeks (old→new), rows = Sun…Sat.
|
||||||
struct ActivityGrid: View {
|
struct ActivityGrid: View {
|
||||||
let activityByDay: [Date: Int]
|
let activityByDay: [Date: Int]
|
||||||
|
/// Missed days a streak freeze kept alive — drawn in the frozen blue rather than the
|
||||||
|
/// empty-day gray (mirrors the Mac grid).
|
||||||
|
var frozenDays: Set<Date> = []
|
||||||
private let cell: CGFloat = 13
|
private let cell: CGFloat = 13
|
||||||
private let gap: CGFloat = 3
|
private let gap: CGFloat = 3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user