Update local basal profile after setting it on pump.
This commit is contained in:
parent
1a8c0fcf52
commit
61d1028011
|
@ -230,6 +230,8 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
|
|||
CommandResult readResult = runCommand(MainApp.sResources.getString(R.string.combo_activity_setting_basal_profile), 0,
|
||||
ruffyScripter::readBasalProfile);
|
||||
|
||||
pump.basalProfile = readResult.basalProfile;
|
||||
|
||||
return readResult.success && readResult.basalProfile.equals(requestedBasalProfile)
|
||||
? PumpInterface.SUCCESS : PumpInterface.FAILED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue