From ade45d5b4ce8bc3c8d27a94ad2c5f083cf16aae4 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 23 Feb 2017 23:13:38 +0100 Subject: [PATCH] hide unlock button if not needed --- .../androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java index 4b0ce3bd0a..a4772d0f10 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java @@ -113,6 +113,8 @@ public class ConfigBuilderFragment extends Fragment implements FragmentBase { }, null); } }); + } else { + unlock.setVisibility(View.GONE); } return view; }