fix of fix
This commit is contained in:
parent
91fecb6cc7
commit
02afb58a14
|
@ -493,7 +493,7 @@ public class NSClientPlugin extends PluginBase {
|
||||||
.subscribe(
|
.subscribe(
|
||||||
result -> {
|
result -> {
|
||||||
result.getInserted().forEach(record -> uel.log("CAREPORTAL EVENT NS", record.getType().getText(), 0.0, 0.0, 0, 0));
|
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)));
|
error -> aapsLogger.error(LTag.DATABASE, "Error while saving therapy event", error)));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -720,7 +720,7 @@ public class AapsOmnipodErosManager {
|
||||||
detailedBolusInfo.carbTime = 0;
|
detailedBolusInfo.carbTime = 0;
|
||||||
detailedBolusInfo.carbs = 0;
|
detailedBolusInfo.carbs = 0;
|
||||||
}
|
}
|
||||||
aBoolean;
|
activePlugin.getActiveTreatments().addToHistoryTreatment(detailedBolusInfo, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void createSuspendedFakeTbrIfNotExists() {
|
public synchronized void createSuspendedFakeTbrIfNotExists() {
|
||||||
|
|
Loading…
Reference in a new issue