Reset last update on weather data reset
This commit is contained in:
parent
cb175e299b
commit
b2f7e34fd3
@ -190,6 +190,7 @@ class WeatherRepositoryImpl(
|
|||||||
scope.launch {
|
scope.launch {
|
||||||
withContext(Dispatchers.IO) {
|
withContext(Dispatchers.IO) {
|
||||||
database.weatherDao().deleteAll()
|
database.weatherDao().deleteAll()
|
||||||
|
provider.resetLastUpdate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user