From 10c5b79938b108a9cf0a5530d7819a51be667f01 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 24 Feb 2022 20:56:22 +0100 Subject: [PATCH] lint --- .../activities/fragments/TreatmentsBolusCarbsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsBolusCarbsFragment.kt b/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsBolusCarbsFragment.kt index 1323b23113..653b36fcdf 100644 --- a/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsBolusCarbsFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/activities/fragments/TreatmentsBolusCarbsFragment.kt @@ -471,7 +471,7 @@ class TreatmentsBolusCarbsFragment : DaggerFragment() { if (selectedItems.size() > 0) activity?.let { activity -> OKDialog.showConfirmation(activity, rh.gs(R.string.removerecord), getConfirmationText(), Runnable { - selectedItems.forEach {key, ml -> + selectedItems.forEach { _, ml -> ml.bolus?.let { bolus -> uel.log( Action.BOLUS_REMOVED, Sources.Treatments,