From c3e1dff3455249457adce756dea02989c5582178 Mon Sep 17 00:00:00 2001 From: Roumen Georgiev Date: Thu, 30 Aug 2018 12:08:45 +0300 Subject: [PATCH] also don't show UserOptions for pumps with code 3 until debugged --- .../nightscout/androidaps/plugins/PumpDanaR/DanaRFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/DanaRFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/DanaRFragment.java index bd077bea4c..83e27806d1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/DanaRFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/DanaRFragment.java @@ -274,8 +274,9 @@ public class DanaRFragment extends SubscriberFragment { } } //hide user options button if not an RS pump or old firmware + // also excludes pump with model 03 because of untested error boolean isKorean = DanaRKoreanPlugin.getPlugin().isEnabled(PluginType.PUMP); - if (isKorean || firmwareView.getText() == "OLD") { + if (isKorean || firmwareView.getText() == "OLD" || pump.model == 3) { danar_user_options.setVisibility(View.GONE); } }