[6.0.0] refactor: 前往标定站点任务展示
This commit is contained in:
@@ -172,6 +172,11 @@ class TaxiCurrentTaskFragment : BaseFragment(),
|
||||
is TaskWithOrderUIState.TaskWithOrder -> {
|
||||
mCurrentTaskWithOrder = taskAndOrderUiState.taskWithOrder
|
||||
|
||||
//如果在前往标定站点, 显示标定站点
|
||||
if (mDriveToNearestStationTask != null){
|
||||
return@collect
|
||||
}
|
||||
|
||||
if (mCurrentTaskWithOrder == null) {
|
||||
initContainerView(false)
|
||||
removeAllMapMarker()
|
||||
|
||||
@@ -262,7 +262,7 @@ class TaxiCurrentTaskViewModel : BaseViewModel<UnmannedState, UnmannedIntent>()
|
||||
sendUiState {
|
||||
copy(
|
||||
taskWithOrderUIState = TaskWithOrderUIState.TaskWithOrder(
|
||||
null,
|
||||
null
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user