Send invalid boluses (prime boluses) to watch.
This commit is contained in:
parent
599c87f794
commit
396268d9c8
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ public class WatchUpdaterService extends WearableListenerService implements
|
||||||
|
|
||||||
List<Treatment> treatments = TreatmentsPlugin.getPlugin().getTreatmentsFromHistory();
|
List<Treatment> treatments = TreatmentsPlugin.getPlugin().getTreatmentsFromHistory();
|
||||||
for (Treatment treatment : treatments) {
|
for (Treatment treatment : treatments) {
|
||||||
if (treatment.isValid && treatment.date > startTimeWindow) {
|
if (treatment.date > startTimeWindow) {
|
||||||
boluses.add(treatmentMap(treatment.date, treatment.insulin, treatment.carbs, treatment.isSMB, treatment.isValid));
|
boluses.add(treatmentMap(treatment.date, treatment.insulin, treatment.carbs, treatment.isSMB, treatment.isValid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue