Primera build enviada
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user