修复开测表游戏显示游戏标签时无法进行筛选的问题
This commit is contained in:
@ -171,12 +171,14 @@ class GameServersTestViewModel(application: Application, private val mColumnId:
|
||||
subList.add(ItemData(time = testTimeInHumanReadableFormat, readableDaysOffset = readableDaysOffset))
|
||||
|
||||
for ((index, game) in slice.gameList.withIndex()) {
|
||||
if (filter == ALL || game.test?.type == filter) {
|
||||
game.serverType = game.test?.type ?: game.serverType
|
||||
if (filter == ALL || game.serverType == filter) {
|
||||
ApkActiveUtils.filterHideApk(game) // 过滤隐藏apk
|
||||
|
||||
if (game.test?.gameTag == "type_tag") {
|
||||
game.test = null
|
||||
}
|
||||
|
||||
game.sequence = index
|
||||
game.testTime = testTimeInHumanReadableFormat
|
||||
subList.add(ItemData(game = game, readableDaysOffset = readableDaysOffset))
|
||||
|
||||
Reference in New Issue
Block a user