File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
library/src/main/java/cloud/pace/sdk/appkit/geo Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ x.y.z Release notes (yyyy-MM-dd)
22=============================================================
33
44<!-- ### Breaking Changes - Include, if needed -->
5- <!-- ### Enhancements - Include, if needed -->
5+
6+ ### Enhancements
7+
8+ * Change ` requestCofuGasStations() ` to return all cofu stations (online and offline)
9+
610### Fixes
711
812* Fix Fueling PWA URLs for non-prod environment
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class GeoAPIManagerImpl(
105105
106106 POIKit .requestGasStations(locations) { gasStations ->
107107 when (gasStations) {
108- is Success -> completion(Result .success(gasStations.result.filter { it.isConnectedFuelingAvailable == true }))
108+ is Success -> completion(Result .success(gasStations.result.filter { gasStation -> cofuGasStations.any { it.id == gasStation.id } }))
109109 is Failure -> completion(Result .failure(gasStations.throwable))
110110 }
111111 }
You can’t perform that action at this time.
0 commit comments