[2.13.0]fix录包列表取消录包Item错误Bug

This commit is contained in:
xuxinchao
2022-12-22 18:35:11 +08:00
parent ce4ba80238
commit a102aab3c0

View File

@@ -201,8 +201,8 @@ class DriverMsgBoxListView @JvmOverloads constructor(
@Subscribe(threadMode = ThreadMode.MAIN)
fun notifyList(msgBoxList: MsgBoxBean){
badCaseList?.let {
it.remove(msgBoxList)
driverMsgBoxListAdapter?.notifyItemRemoved(it.indexOf(msgBoxList))
it.remove(msgBoxList)
}
}
}