From 43fcfaf5d6718d744d289e9f972d0f4e86b5763d Mon Sep 17 00:00:00 2001 From: triplem <160079+triplem@users.noreply.github.com> Date: Wed, 24 Oct 2018 20:46:22 +0200 Subject: [PATCH] solve #1449 --- .../androidaps/plugins/Overview/OverviewFragment.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java index a414d38310..439f34b3bb 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/OverviewFragment.java @@ -461,15 +461,18 @@ public class OverviewFragment extends Fragment implements View.OnClickListener, menu.add(MainApp.gs(R.string.disconnectpumpfor15m)); if (pumpDescription.tempDurationStep30mAllowed) menu.add(MainApp.gs(R.string.disconnectpumpfor30m)); - menu.add(MainApp.gs(R.string.disconnectpumpfor1h)); - menu.add(MainApp.gs(R.string.disconnectpumpfor2h)); - menu.add(MainApp.gs(R.string.disconnectpumpfor3h)); } else { menu.add(MainApp.gs(R.string.resume)); } } if (!loopPlugin.isEnabled(PluginType.LOOP)) menu.add(MainApp.gs(R.string.enableloop)); + + // menu-items visible even if loop is disabled (#1449) + menu.add(MainApp.gs(R.string.disconnectpumpfor1h)); + menu.add(MainApp.gs(R.string.disconnectpumpfor2h)); + menu.add(MainApp.gs(R.string.disconnectpumpfor3h)); + } else if (v == activeProfileView) { menu.setHeaderTitle(MainApp.gs(R.string.profile)); menu.add(MainApp.gs(R.string.danar_viewprofile));