Reset last update on weather data reset

This commit is contained in:
MM20
2022-01-04 00:03:11 +01:00
parent cb175e299b
commit b2f7e34fd3
@@ -190,6 +190,7 @@ class WeatherRepositoryImpl(
scope.launch {
withContext(Dispatchers.IO) {
database.weatherDao().deleteAll()
provider.resetLastUpdate()
}
}
}