[6.4.0][启自驾指引] 修正状态栏轨迹下载状态未展示
This commit is contained in:
@@ -69,10 +69,12 @@ class StatusBarView @JvmOverloads constructor(
|
||||
routeDownloadStatusRoot?.visibility = View.GONE
|
||||
}
|
||||
1 -> {
|
||||
routeDownloadStatusRoot?.visibility = View.VISIBLE
|
||||
routeDownloadStatus?.background = ContextCompat.getDrawable(context, R.drawable.bg_autopilot_route_download_start)
|
||||
routeDownloadFailMark?.visibility = View.GONE
|
||||
}
|
||||
2 -> {
|
||||
routeDownloadStatusRoot?.visibility = View.VISIBLE
|
||||
routeDownloadStatus?.background = ContextCompat.getDrawable(context, R.drawable.bg_autopilot_route_download_success)
|
||||
routeDownloadFailMark?.visibility = View.GONE
|
||||
scope.launch {
|
||||
@@ -81,6 +83,7 @@ class StatusBarView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
3 -> {
|
||||
routeDownloadStatusRoot?.visibility = View.VISIBLE
|
||||
routeDownloadStatus?.background = ContextCompat.getDrawable(context, R.drawable.bg_autopilot_route_download_failed)
|
||||
routeDownloadFailMark?.visibility = View.VISIBLE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user