hide buttons if the pod is not activated

This commit is contained in:
Andrei Vereha 2021-08-06 20:55:16 +02:00
parent 2680402f2e
commit 56852ac60e

View file

@ -183,7 +183,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
} }
override fun isInitialized(): Boolean { override fun isInitialized(): Boolean {
return true return podStateManager.isPodRunning
} }
override fun isSuspended(): Boolean { override fun isSuspended(): Boolean {