Merge pull request #2281 from LoriLori/danaRSv2/bug/historyFetch

lastEventTimeLoaded is never updated
This commit is contained in:
Milos Kozak 2022-12-11 21:17:11 +01:00 committed by GitHub
commit 62d1d27244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,7 +277,7 @@ class MsgHistoryEventsV2 constructor(
status = "UNKNOWN " + dateUtil.timeString(datetime)
}
}
if (datetime > danaPump.lastEventTimeLoaded) danaPump.lastEventTimeLoaded = datetime
if (datetime > danaRv2Plugin.lastEventTimeLoaded) danaRv2Plugin.lastEventTimeLoaded = datetime
rxBus.send(EventPumpStatusChanged(rh.gs(info.nightscout.pump.dana.R.string.processinghistory) + ": " + status))
}
}