mirror of
https://github.com/ev-map/EVMap.git
synced 2026-02-24 02:16:03 -05:00
AA/AAOS: clear list of chargers on loading error
This commit is contained in:
@@ -436,6 +436,7 @@ class MapScreen(ctx: CarContext, val session: EVMapSession) :
|
||||
).awaitFinished()
|
||||
if (response.status == Status.ERROR) {
|
||||
loadingError = true
|
||||
this@MapScreen.chargers = null
|
||||
invalidate()
|
||||
return@launch
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user