always call callback on TBR-Request

This commit is contained in:
AdrianLxM 2018-04-25 16:28:54 +02:00
parent a14345bb1a
commit e79ef7f018

View file

@ -417,6 +417,9 @@ public class ConfigBuilderPlugin extends PluginBase {
*/
public void applyTBRRequest(APSResult request, Profile profile, Callback callback) {
if (!request.tempBasalRequested) {
if (callback != null) {
callback.result(new PumpEnactResult().enacted(false).success(true).comment(MainApp.gs(R.string.nochangerequested))).run();
}
return;
}