修复首页直播通行证展示问题

This commit is contained in:
hch 2024-01-15 10:49:23 +08:00
parent 92d271ff93
commit 27f136d6ca

View File

@ -619,6 +619,8 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
if (isFinishing()) return; if (isFinishing()) return;
if (data.getShowWarOrder() == 0) { if (data.getShowWarOrder() == 0) {
floatWarOrder.setVisibility(View.GONE); floatWarOrder.setVisibility(View.GONE);
} else {
floatWarOrder.setVisibility(View.VISIBLE);
} }
if (data.getListShow() == 1 && data.getList().size() > 2) { if (data.getListShow() == 1 && data.getList().size() > 2) {
floatBanner.setVisibility(View.VISIBLE); floatBanner.setVisibility(View.VISIBLE);