Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_remove_duplicate_verification
This commit is contained in:
commit
5ab24e99dd
|
@ -199,11 +199,7 @@ class OverviewMenus @Inject constructor(
|
||||||
menu.add(resourceHelper.gs(R.string.enableloop))
|
menu.add(resourceHelper.gs(R.string.enableloop))
|
||||||
}
|
}
|
||||||
if (!loopPlugin.isDisconnected) {
|
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 {
|
} else {
|
||||||
menu.add(resourceHelper.gs(R.string.reconnect))
|
menu.add(resourceHelper.gs(R.string.reconnect))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue