Compare commits

...

3 Commits
1.4.7 ... 1.4.8

Author SHA1 Message Date
johan12345
350f18df8e Release 1.4.8 2023-02-14 19:34:46 +01:00
johan12345
dda151abf5 add @DoubleYouEl to contributors list 2023-02-14 19:30:41 +01:00
johan12345
a86f1397f4 fix unnecessary empty requests to fronyx API 2023-02-14 19:25:25 +01:00
5 changed files with 11 additions and 2 deletions

View File

@@ -20,8 +20,8 @@ android {
minSdkVersion 21
targetSdkVersion 33
// NOTE: always increase versionCode by 2 since automotive flavor uses versionCode + 1
versionCode 162
versionName "1.4.7"
versionCode 164
versionName "1.4.8"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resConfigs supportedLocales.split(',')

View File

@@ -250,6 +250,10 @@ class MapViewModel(application: Application, private val state: SavedStateHandle
).any { filtered.contains(it) }
} ?: true
}.flatMap { it.value }
if (allEvseIds.isEmpty()) {
emit(Resource.success(emptyList()))
return@liveData
}
try {
val result = predictionApi.getPredictionsForEvseIds(allEvseIds)
if (result.size == allEvseIds.size) {

View File

@@ -19,6 +19,7 @@
Altonss\n
Allan Nordhøy\n
Maximilian Goldschmidt\n
Wim Lamotte\n
Licaon_Kter\n
pt2121\n
nautilusx

View File

@@ -0,0 +1,2 @@
Fehler behoben:
- Unnötige HTTP-Requests entfernt

View File

@@ -0,0 +1,2 @@
Bugfixes:
- Removed unnecessary HTTP requests