fix of fix

This commit is contained in:
Milos Kozak 2021-03-16 21:18:44 +01:00
parent 91fecb6cc7
commit 02afb58a14
2 changed files with 2 additions and 2 deletions

View file

@ -493,7 +493,7 @@ public class NSClientPlugin extends PluginBase {
.subscribe(
result -> {
result.getInserted().forEach(record -> uel.log("CAREPORTAL EVENT NS", record.getType().getText(), 0.0, 0.0, 0, 0));
result.getInvalidated().forEach(record -> uel.log("CAREPORTAL EVENT DELETED FROM NS", "", 0.0, 0.0, record.getTimestamp(), 0));
result.getInvalidated().forEach(record -> uel.log("CAREPORTAL EVENT DELETED FROM NS", "", 0.0, 0.0, (int) record.getTimestamp(), 0));
},
error -> aapsLogger.error(LTag.DATABASE, "Error while saving therapy event", error)));
} else {

View file

@ -720,7 +720,7 @@ public class AapsOmnipodErosManager {
detailedBolusInfo.carbTime = 0;
detailedBolusInfo.carbs = 0;
}
aBoolean;
activePlugin.getActiveTreatments().addToHistoryTreatment(detailedBolusInfo, false);
}
public synchronized void createSuspendedFakeTbrIfNotExists() {