From 4b777f8dcc0e7d62d1b3d53b186230033d6fa944 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 25 Jun 2018 20:03:54 +0200 Subject: [PATCH] fix extendedBolusView --- .../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 703d21e880..62b2d7a028 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 @@ -1244,7 +1244,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener, extendedBolusView.setText(extendedBolusText); } if (extendedBolusText.equals("")) - extendedBolusView.setVisibility(View.INVISIBLE); + extendedBolusView.setVisibility(shorttextmode ? View.INVISIBLE : View.GONE); else extendedBolusView.setVisibility(View.VISIBLE); }