This commit is contained in:
Михаил Капелько
2024-01-17 18:12:27 +03:00
parent 1a731e2fad
commit a5bff85223

View File

@@ -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
}