Михаил Капелько 11 months ago
parent
commit
a5bff85223
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Modules/MicX/MicItem/src/MicItem.Shoulds.swift

+ 2
- 2
Modules/MicX/MicItem/src/MicItem.Shoulds.swift 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
}



Loading…
Cancel
Save