更改游戏安装引导显示逻辑
This commit is contained in:
@ -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));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user