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
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -190,6 +190,7 @@ class WeatherRepositoryImpl(
scope.launch {
withContext(Dispatchers.IO) {
database.weatherDao().deleteAll()
provider.resetLastUpdate()
}
}
}