更改游戏安装引导显示逻辑

This commit is contained in:
leafwai
2021-08-31 20:57:16 +08:00
parent b764a43abe
commit 20149b6041
5 changed files with 12 additions and 56 deletions

View File

@ -231,16 +231,6 @@ public class Config {
@Nullable
public static GameGuidePopupEntity getGameGuidePopupEntity() {
if (mGameGuidePopupEntity == null) {
try {
String json = SPUtils.getString(Constants.SP_GAME_DETAIL_INSTALL_GUIDE_CONTENT);
if (!TextUtils.isEmpty(json)) {
mGameGuidePopupEntity = GsonUtils.fromJson(json, GameGuidePopupEntity.class);
}
} catch (Exception e) {
e.printStackTrace();
}
}
return mGameGuidePopupEntity;
}
@ -341,7 +331,6 @@ public class Config {
@Override
public void onSuccess(GameGuidePopupEntity data) {
mGameGuidePopupEntity = data;
SPUtils.setString(Constants.SP_GAME_DETAIL_INSTALL_GUIDE_CONTENT, GsonUtils.toJson(data));
}
});
}