- small fix for bolus date, that might fix the problem

This commit is contained in:
Andy Rozman 2022-06-11 23:04:32 +01:00
parent 690b851511
commit 4e9202651f

View file

@ -640,6 +640,8 @@ class MedtronicPumpPlugin @Inject constructor(
} }
val now = System.currentTimeMillis() val now = System.currentTimeMillis()
detailedBolusInfo.timestamp = now
pumpSyncStorage.addBolusWithTempId(detailedBolusInfo, true, this) pumpSyncStorage.addBolusWithTempId(detailedBolusInfo, true, this)
// we subtract insulin, exact amount will be visible with next remainingInsulin update. // we subtract insulin, exact amount will be visible with next remainingInsulin update.