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