Streak Freeze Feature Implementation

Nucleic-Session: 89DB7BC1-F74C-4768-BC7B-25F898265E0E
This commit is contained in:
Nucleic
2026-06-26 01:18:29 -07:00
parent e11fda7fa2
commit cf1176fe96
@@ -171,6 +171,9 @@ struct StreakBadge: View {
/// GitHub-style activity grid: columns = weeks (old→new), rows = Sun…Sat.
struct ActivityGrid: View {
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 gap: CGFloat = 3