diff --git a/app/src/google/java/net/vonforst/evmap/auto/MapScreen.kt b/app/src/google/java/net/vonforst/evmap/auto/MapScreen.kt index aae6128a..9f51a56c 100644 --- a/app/src/google/java/net/vonforst/evmap/auto/MapScreen.kt +++ b/app/src/google/java/net/vonforst/evmap/auto/MapScreen.kt @@ -296,10 +296,10 @@ class MapScreen(ctx: CarContext, val session: EVMapSession) : ) { return } + val previousLocation = this.location this.location = location - if (updateCoroutine != null) { - // don't update while still loading last update - return + if (previousLocation == null) { + loadChargers() } val now = Instant.now()