From e524c43138fc7b75d5d19ab9fe7c68355c2aafd3 Mon Sep 17 00:00:00 2001 From: triplem <160079+triplem@users.noreply.github.com> Date: Sun, 4 Nov 2018 19:23:58 +0100 Subject: [PATCH] Show only one resume --- .../androidaps/plugins/Overview/OverviewFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 96c1bd0612..3d775077ba 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 @@ -469,7 +469,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener, if (!loopPlugin.isDisconnected()) { showSuspendtPump(menu, pumpDescription); - } else { + } else if (!loopPlugin.isSuspended()){ menu.add(MainApp.gs(R.string.resume)); }