Fixed an issue with GPS location

This commit is contained in:
ottoptj 2024-09-24 13:25:03 +03:00
commit 98dcd5810d

View file

@ -46,6 +46,11 @@ class WeatherSystem(private val context: Context) {
sharedPreferenceManager.setWeatherLocation("latitude=${latitude}&longitude=${longitude}", "Latest GPS location")
activity.updateWeatherText()
}
} else {
CoroutineScope(Dispatchers.IO).launch {
activity.updateWeatherText()
}
}
}