diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java index 280bcd7d56..6d7e552753 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.java @@ -135,7 +135,7 @@ public class MedtronicHistoryData { LOG.debug("Filter new entries: Before {}", newHistory); - if (isCollectionEmpty(newHistory)) { + if (!isCollectionEmpty(newHistory)) { for (PumpHistoryEntry pumpHistoryEntry : newHistory) {