From 4e9202651fdf8fe3342d9daebf211fa709beceb2 Mon Sep 17 00:00:00 2001 From: Andy Rozman Date: Sat, 11 Jun 2022 23:04:32 +0100 Subject: [PATCH] - small fix for bolus date, that might fix the problem --- .../androidaps/plugins/pump/medtronic/MedtronicPumpPlugin.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/MedtronicPumpPlugin.kt b/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/MedtronicPumpPlugin.kt index a4e660fe4c..bf01175866 100644 --- a/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/MedtronicPumpPlugin.kt +++ b/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/MedtronicPumpPlugin.kt @@ -640,6 +640,8 @@ class MedtronicPumpPlugin @Inject constructor( } val now = System.currentTimeMillis() + detailedBolusInfo.timestamp = now + pumpSyncStorage.addBolusWithTempId(detailedBolusInfo, true, this) // we subtract insulin, exact amount will be visible with next remainingInsulin update.