修复点击下载闪退问题
This commit is contained in:
@ -180,7 +180,7 @@ class CertificationDialog(context: Context, private val authDialogEntity: AuthDi
|
||||
val datas = SPUtils.getString(Constants.SP_AUTH_DIALOG)
|
||||
val type = object : TypeToken<List<AuthDialogEntity>>() {}.type
|
||||
val authDialogs = GsonUtils.gson.fromJson<List<AuthDialogEntity>>(datas, type)
|
||||
if (authDialogs.isNotEmpty()) {
|
||||
if (!authDialogs.isNullOrEmpty()) {
|
||||
authDialog = authDialogs.find { it.gameCategory == game.category }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user