Михаил Капелько 10 mesi fa
parent
commit
a5bff85223
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      Modules/MicX/MicItem/src/MicItem.Shoulds.swift

+ 2
- 2
Modules/MicX/MicItem/src/MicItem.Shoulds.swift Vedi 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…
Annulla
Salva