mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Fixed an issue with GPS location
This commit is contained in:
parent
a3c3f9b249
commit
98dcd5810d
1 changed files with 5 additions and 0 deletions
|
|
@ -46,6 +46,11 @@ class WeatherSystem(private val context: Context) {
|
||||||
sharedPreferenceManager.setWeatherLocation("latitude=${latitude}&longitude=${longitude}", "Latest GPS location")
|
sharedPreferenceManager.setWeatherLocation("latitude=${latitude}&longitude=${longitude}", "Latest GPS location")
|
||||||
activity.updateWeatherText()
|
activity.updateWeatherText()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
CoroutineScope(Dispatchers.IO).launch {
|
||||||
|
activity.updateWeatherText()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue