don't show User oprtions if firmware is OLD
This commit is contained in:
parent
653a98fd5b
commit
ca96791059
|
@ -273,9 +273,9 @@ public class DanaRFragment extends SubscriberFragment {
|
|||
queueView.setText(status);
|
||||
}
|
||||
}
|
||||
//hide user options button if not an RS pump
|
||||
//hide user options button if not an RS pump or old firmware
|
||||
boolean isKorean = DanaRKoreanPlugin.getPlugin().isEnabled(PluginType.PUMP);
|
||||
if (isKorean) {
|
||||
if (isKorean || firmwareView.getText() == "OLD") {
|
||||
danar_user_options.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue