[SweeperCloud]fix:kotlin compile error ;

This commit is contained in:
aibingbing
2023-07-29 18:29:22 +08:00
parent 34fc750bdb
commit e110a7cd42

View File

@@ -478,8 +478,8 @@ class SweeperFragment : BaseSweeperTabFragment<SweeperFragment?, SweeperPresente
showNotice("任务已结束")
resetTaskInfoPanel()
// 大任务这里也判断移除HD Marker, 双重判断
mCurrentRunningSubTaskInfo?.also {
removeHDMapMarkerBySubTask(it)
if (mCurrentRunningSubTaskInfo != null) {
removeHDMapMarkerBySubTask(mCurrentRunningSubTaskInfo!!)
}
} else if (bigTaskStatus == SweeperCommon.TaskStatus.SUSPENDED) {// 暂停
showNotice("任务已暂停")