use MIN_DIA instead of DEFAULT_DIA

This commit is contained in:
Milos Kozak 2017-11-21 22:29:50 +01:00
parent 2f0599fbc7
commit 4007049118

View file

@ -61,7 +61,7 @@ public abstract class InsulinOrefBasePlugin implements PluginBase, InsulinInterf
}
public double getUserDefinedDia() {
return MainApp.getConfigBuilder().getProfile() != null ? MainApp.getConfigBuilder().getProfile().getDia() : Constants.defaultDIA;
return MainApp.getConfigBuilder().getProfile() != null ? MainApp.getConfigBuilder().getProfile().getDia() : MIN_DIA;
}
@Override