|
@@ -273,8 +273,12 @@ public class ScanResultActivity extends BaseActivity implements ScanResultView {
|
273
|
273
|
}
|
274
|
274
|
|
275
|
275
|
if (dataWorkingPermit.getMessage() != null) {
|
276
|
|
- binding.tvMessage.setVisibility(View.VISIBLE);
|
277
|
|
- binding.tvMessage.setText(dataWorkingPermit.getMessage());
|
|
276
|
+ if (dataWorkingPermit.getMessage().contains("Auto Pass")){
|
|
277
|
+ binding.tvMessage.setVisibility(View.GONE);
|
|
278
|
+ } else {
|
|
279
|
+ binding.tvMessage.setVisibility(View.VISIBLE);
|
|
280
|
+ binding.tvMessage.setText(dataWorkingPermit.getMessage());
|
|
281
|
+ }
|
278
|
282
|
} else {
|
279
|
283
|
binding.tvMessage.setVisibility(View.GONE);
|
280
|
284
|
}
|