Преглед изворни кода

修复主页没有检查更新的问题

zengjiebin пре 7 година
родитељ
комит
e8fa636aca
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      app/src/main/java/com/sheep/gamegroup/view/activity/ActMain.java

+ 2 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/ActMain.java

@@ -31,6 +31,7 @@ import com.sheep.gamegroup.util.DownloadUtil;
 import com.sheep.gamegroup.util.Jump2View;
 import com.sheep.gamegroup.util.ListUtil;
 import com.sheep.gamegroup.util.MainTab;
+import com.sheep.gamegroup.util.SysAppUtil;
 import com.sheep.gamegroup.util.TestUtil;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.gamegroup.util.ViewUtil;
@@ -345,7 +346,7 @@ public class ActMain extends BaseActYmPermissionCheck {
             }
         } else {
             if (onResumeCount == 0 && !TestUtil.isDev()) {
-                Jump2View.getInstance().tryShowHalfScreenAd(ActMain.this, getContainer());
+                SysAppUtil.showVersionInfo(this, SpUtils.getIgnoreMd5(), integer -> Jump2View.getInstance().tryShowHalfScreenAd(ActMain.this, getContainer()));
             }
         }
         onResumeCount++;