Set compile and target SDK to 33

This commit is contained in:
MM20
2022-08-21 18:39:12 +02:00
parent 042c0e2040
commit 6b09380eed
3 changed files with 6 additions and 6 deletions
@@ -38,7 +38,7 @@ abstract class LatLonWeatherProvider : WeatherProvider<LatLonWeatherLocation>()
CrashReporter.logException(e)
emptyList()
}
}
} ?: emptyList()
return locations.mapNotNull {
LatLonWeatherLocation(
lat = it.latitude,
@@ -72,7 +72,7 @@ abstract class LatLonWeatherProvider : WeatherProvider<LatLonWeatherLocation>()
return withContext(Dispatchers.IO) {
try {
Geocoder(context).getFromLocation(lat, lon, 1)
.firstOrNull()
?.firstOrNull()
?.formatToString() ?: formatLatLon(lat, lon)
} catch (e: IOException) {
CrashReporter.logException(e)