fix: 修复快捷方式启动模拟器游戏出现的闪退问题 https://sentry.shanqu.cc/organizations/lightgame/issues/376360/events/7240c5329d03408dba143ffb3fc8213a/?project=22
This commit is contained in:
@ -2,12 +2,10 @@ package com.gh.gamecenter.entity
|
||||
|
||||
import com.gh.gamecenter.common.constant.Constants
|
||||
import com.gh.gamecenter.common.entity.IconFloat
|
||||
import com.gh.gamecenter.feature.exposure.ExposureEvent
|
||||
import com.gh.gamecenter.feature.entity.*
|
||||
import com.gh.gamecenter.feature.exposure.ExposureEvent
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.IgnoredOnParcel
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
data class GameUpdateEntity(
|
||||
@SerializedName("game_id")
|
||||
@ -76,9 +74,8 @@ data class GameUpdateEntity(
|
||||
/**
|
||||
* 是否为 mod 游戏,根据是否有 mod 标签来判断,不受镜像、游戏屏蔽影响
|
||||
*/
|
||||
val isModdedGame by lazy {
|
||||
tagStyle.any { it.name.lowercase(Locale.getDefault()) == "mod" }
|
||||
}
|
||||
val isModdedGame: Boolean
|
||||
get() = tagStyle.any { it.name.lowercase(Locale.getDefault()) == "mod" }
|
||||
|
||||
|
||||
fun isShowPlugin(location: PluginLocation): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user