Added back clearing repository cache

This commit is contained in:
Viktor De Pasquale
2019-05-23 15:28:05 +02:00
parent ea1f75f80e
commit 0119ebddbe
3 changed files with 5 additions and 1 deletions
@@ -59,6 +59,8 @@ class ModuleRepository(
.fetchModuleInstaller()
.map { it.writeToFile(context, FILE_MODULE_INSTALLER_SH) }
fun deleteAllCached() = repoDao.deleteAll()
private fun fetchProperties(module: String, lastChanged: Long) = apiRaw
.fetchFile(module, "module.prop")