This commit is contained in:
Milos Kozak 2018-09-11 10:09:29 +02:00
parent 52c85501c6
commit 48c8863ccb

View file

@ -145,6 +145,8 @@ public class TreatmentsBolusFragment extends SubscriberFragment implements View.
@Override
public void onClick(View v) {
final Treatment treatment = (Treatment) v.getTag();
if (treatment == null)
return;
switch (v.getId()) {
case R.id.treatments_remove:
AlertDialog.Builder builder = new AlertDialog.Builder(context);