From 912c847dcb39c40a9cc8555e0fbee9b7fa1d594b Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Sat, 1 May 2021 18:43:11 +0200 Subject: [PATCH] rename to historyId --- .../plugins/pump/omnipod/dash/OmnipodDashPumpPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 bf9c3389ec..1b2a43af32 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 @@ -468,12 +468,12 @@ class OmnipodDashPumpPlugin @Inject constructor( } private fun executeProgrammingCommand( - historyEntry: Single, + historyId: Single, command: Observable ): PumpEnactResult { return Single.create { source -> Observable.concat( - historyEntry.flatMapObservable { recordId -> + historyId.flatMapObservable { recordId -> podStateManager.createActiveCommand(recordId).toObservable() }, command,