diff --git a/app/src/main/java/info/nightscout/androidaps/data/Profile.java b/app/src/main/java/info/nightscout/androidaps/data/Profile.java index c7b7a89744..5235545362 100644 --- a/app/src/main/java/info/nightscout/androidaps/data/Profile.java +++ b/app/src/main/java/info/nightscout/androidaps/data/Profile.java @@ -193,7 +193,7 @@ public class Profile { return sparse; } - public boolean isValid(String from) { + public synchronized boolean isValid(String from) { if (!isValid) return false; if (!isValidated) { @@ -404,7 +404,7 @@ public class Profile { return getBasal(secondsFromMidnight(time)); } - public Double getBasal(Integer timeAsSeconds) { + public synchronized Double getBasal(Integer timeAsSeconds) { if (basal_v == null) { basal_v = convertToSparseArray(basal); } @@ -425,7 +425,7 @@ public class Profile { public Double value; } - public BasalValue[] getBasalValues() { + public synchronized BasalValue[] getBasalValues() { if (basal_v == null) basal_v = convertToSparseArray(basal); BasalValue[] ret = new BasalValue[basal_v.size()]; diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index eb42be81ba..e40e9c2b59 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -733,7 +733,6 @@ ]]> ]]> AndroidAPS - Nul waarde in basaal profiel %s BG beschikbaar op gekozen bron Enkel positief Enkel negatief diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 184b6adaba..4d875c7d99 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -810,7 +810,7 @@ Maximal IOB set properly BG available from selected source Basal values not aligned to hours: %s - Zero value in profile: %s + Invalid profile: %s Programming pump for bolusing Refresh TDDS