[2.13.0]录包数据列表刷新改为空指针保护方式

This commit is contained in:
xuxinchao
2022-12-29 18:28:58 +08:00
parent 09b45fb40e
commit ad6b943ebe

View File

@@ -177,7 +177,7 @@ class DriverMsgBoxListView @JvmOverloads constructor(
}
MsgCategory.RECORD_BAG -> {
badCaseList?.add(0,msgBoxList)
driverMsgBoxListAdapter?.setData(badCaseList!!)
badCaseList?.let { driverMsgBoxListAdapter?.setData(it) }
}
}
}