Merge pull request #4 from MilosKozak/dev

Dev
This commit is contained in:
boysim 2017-09-16 23:07:56 +02:00 committed by GitHub
commit 9d62d498df

View file

@ -218,6 +218,7 @@ public class VirtualPumpPlugin implements PluginBase, PumpInterface {
result.success = true; result.success = true;
result.bolusDelivered = detailedBolusInfo.insulin; result.bolusDelivered = detailedBolusInfo.insulin;
result.carbsDelivered = detailedBolusInfo.carbs; result.carbsDelivered = detailedBolusInfo.carbs;
result.enacted = result.bolusDelivered > 0 || result.carbsDelivered > 0;
result.comment = MainApp.instance().getString(R.string.virtualpump_resultok); result.comment = MainApp.instance().getString(R.string.virtualpump_resultok);
Double delivering = 0d; Double delivering = 0d;