diff --git a/Modules/MicX/MicItem/src/MicItem.Shoulds.swift b/Modules/MicX/MicItem/src/MicItem.Shoulds.swift index cb92034..a8552cf 100644 --- a/Modules/MicX/MicItem/src/MicItem.Shoulds.swift +++ b/Modules/MicX/MicItem/src/MicItem.Shoulds.swift @@ -2,9 +2,9 @@ public extension MicItem { static func shouldResetActivity(_ c: MicItemContext) -> Bool? { if c.activityDate.isRecent, - let end = c.activityDate.value, - let now = Date() + let end = c.activityDate.value { + let now = Date() return now < end }