also don't show UserOptions for pumps with code 3
until debugged
This commit is contained in:
parent
063ead4c17
commit
c3e1dff345
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue