From f48956fd0df243a25e4681aacae7107452f26c03 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Thu, 14 Oct 2021 22:10:50 +0200 Subject: [PATCH] fix warning --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt index 3814743d10..86e21d449e 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt @@ -1031,7 +1031,7 @@ class OmnipodDashPumpPlugin @Inject constructor( DateFormat.format("HH:mm", Date(this.startTime)) ) + "\n" } - val (temporaryBasal, extendedBolus, _, profile) = pumpSync.expectedPumpState() + val temporaryBasal = pumpSync.expectedPumpState().temporaryBasal temporaryBasal?.run { ret += resourceHelper.gs( R.string.omnipod_common_short_status_temp_basal,