From 56852ac60e3ad7df77c011d363f2b6e1c3a71552 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Fri, 6 Aug 2021 20:55:16 +0200 Subject: [PATCH] hide buttons if the pod is not activated --- .../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 bca8146c00..c502c4b71a 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 @@ -183,7 +183,7 @@ class OmnipodDashPumpPlugin @Inject constructor( } override fun isInitialized(): Boolean { - return true + return podStateManager.isPodRunning } override fun isSuspended(): Boolean {