fix cancel real temp basals from actions
This commit is contained in:
parent
0ac7357ee9
commit
7a7f75db01
1 changed files with 11 additions and 0 deletions
|
@ -214,6 +214,17 @@ public class ActionsFragment extends SubscriberFragment implements View.OnClickL
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case R.id.actions_canceltempbasal:
|
||||||
|
if (MainApp.getConfigBuilder().isInHistoryRealTempBasalInProgress()) {
|
||||||
|
sHandler.post(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
pump.cancelTempBasal(true);
|
||||||
|
Answers.getInstance().logCustom(new CustomEvent("CancelExtended"));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
break;
|
||||||
case R.id.actions_settempbasal:
|
case R.id.actions_settempbasal:
|
||||||
NewTempBasalDialog newTempDialog = new NewTempBasalDialog();
|
NewTempBasalDialog newTempDialog = new NewTempBasalDialog();
|
||||||
newTempDialog.show(manager, "NewTempDialog");
|
newTempDialog.show(manager, "NewTempDialog");
|
||||||
|
|
Loading…
Reference in a new issue