Merge pull request #759 from TebbeUbben/dev
Save new profile when updating it to fix "endless loop"
This commit is contained in:
commit
e92e05cfbd
|
@ -408,6 +408,7 @@ public class InsightPumpPlugin implements PluginBase, PumpInterface, Constraints
|
|||
result.success = true;
|
||||
result.enacted = true;
|
||||
result.comment = "OK";
|
||||
this.profileBlocks = profileBlocks;
|
||||
} else {
|
||||
Notification notification = new Notification(Notification.FAILED_UDPATE_PROFILE, MainApp.sResources.getString(R.string.failedupdatebasalprofile), Notification.URGENT);
|
||||
MainApp.bus().post(new EventNewNotification(notification));
|
||||
|
|
Loading…
Reference in a new issue