Primera build enviada

This commit is contained in:
2026-01-19 14:40:43 +01:00
parent c6be398e5a
commit b03d35194f
36 changed files with 1641 additions and 561 deletions
@@ -174,6 +174,14 @@ enum MonthlyCheckInStore {
return achievementStatuses(for: stats)
}
static func clearAll() {
let defaults = UserDefaults.standard
defaults.removeObject(forKey: notesKey)
defaults.removeObject(forKey: completionsKey)
defaults.removeObject(forKey: entriesKey)
defaults.removeObject(forKey: legacyLastCheckInKey)
}
// MARK: - Private Helpers
private static func updateEntry(for date: Date, mutate: (inout MonthlyCheckInEntry) -> Void) {