From cdf059a0bad436b01f15c6b4fd07e470bc19f2c6 Mon Sep 17 00:00:00 2001 From: Bart Sopers Date: Wed, 11 Nov 2020 20:31:05 +0100 Subject: [PATCH] Revert hiding disconnect buttons in overview for Omnipod --- .../androidaps/plugins/general/overview/OverviewMenus.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewMenus.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewMenus.kt index c74466ba9d..f42832a766 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewMenus.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/OverviewMenus.kt @@ -199,11 +199,7 @@ class OverviewMenus @Inject constructor( menu.add(resourceHelper.gs(R.string.enableloop)) } if (!loopPlugin.isDisconnected) { - if(pumpDescription.pumpType != PumpType.Insulet_Omnipod) { - // Don't show the disconnect menu for Omnipod, - // as an Omnipod is attached to your body and cannot be physically disconnected. - showSuspendPump(menu, pumpDescription) - } + showSuspendPump(menu, pumpDescription) } else { menu.add(resourceHelper.gs(R.string.reconnect)) }