Explorar o código

send lastLoopDate on start

Ivan Valkou %!s(int64=4) %!d(string=hai) anos
pai
achega
419790e6b2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      FreeAPS/Sources/APS/APSManager.swift

+ 1 - 0
FreeAPS/Sources/APS/APSManager.swift

@@ -105,6 +105,7 @@ final class BaseAPSManager: APSManager, Injectable {
         injectServices(resolver)
         injectServices(resolver)
         openAPS = OpenAPS(storage: storage)
         openAPS = OpenAPS(storage: storage)
         subscribe()
         subscribe()
+        lastLoopDateSubject.send(lastLoopDate)
     }
     }
 
 
     private func subscribe() {
     private func subscribe() {