ComboPlugin.deliverTreatment: return command message as comment in PumpEnactResult.
Important when there's an error.
This commit is contained in:
parent
d35d93ed44
commit
a27bb28e87
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
|||
result.success = bolusCmdResult.success;
|
||||
result.enacted = bolusCmdResult.enacted;
|
||||
result.bolusDelivered = detailedBolusInfo.insulin;
|
||||
result.comment = MainApp.instance().getString(R.string.virtualpump_resultok);
|
||||
result.comment = bolusCmdResult.message;
|
||||
} else {
|
||||
// TODO the ui freezes when the calculator issues a carb-only treatment
|
||||
// so just wait, yeah, this is dumb. for now; proper fix via GL#10
|
||||
|
|
Loading…
Reference in a new issue