Merge pull request #2124 from jotomo/recalc-iob-on-insulin-peak-change

Recalculate IOB on insulin peak time pref change.
This commit is contained in:
Milos Kozak 2019-10-20 22:58:51 +02:00 committed by GitHub
commit 98cb17c6bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,8 @@ public class IobCobCalculatorPlugin extends PluginBase {
event.isChanged(R.string.key_openapsama_min_5m_carbimpact) ||
event.isChanged(R.string.key_absorption_cutoff) ||
event.isChanged(R.string.key_openapsama_autosens_max) ||
event.isChanged(R.string.key_openapsama_autosens_min)
event.isChanged(R.string.key_openapsama_autosens_min) ||
event.isChanged(R.string.key_insulin_oref_peak)
) {
stopCalculation("onEventPreferenceChange");
synchronized (dataLock) {