Ver código fonte

[修改]修复VIP到期提醒在无弹窗广告情况不展示的BUG

zeki 5 anos atrás
pai
commit
ff18cfe323

+ 3 - 2
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -1641,6 +1641,9 @@ public class Jump2View {
                                         return;
                                     }
                                 }
+                                //查询VIp
+                                EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.CHECK_VIP));
+
                                 //显示弹窗广告
                                 SheepAd ad = DDProviderHelper.getInstance().getSheepAd(SheepAd.FORM_POP);
                                 if (ad != null) {
@@ -1649,8 +1652,6 @@ public class Jump2View {
                                     EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.GUIDE_SWITCH_HOME));
                                     tryShowYfShopAskDialog(activity);
                                 }
-                                //查询VIp
-                                EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.CHECK_VIP));
                             }
                         }));
     }