Add: New Installer Logic

This commit is contained in:
LooKeR
2021-10-24 18:03:35 +05:30
parent 8b3fd09f27
commit 2aaec7e022
11 changed files with 261 additions and 124 deletions

View File

@ -95,7 +95,13 @@ object RepositoryUpdater {
repository: Repository, unstable: Boolean,
callback: (Stage, Long, Long?) -> Unit
): Single<Boolean> {
return update(context, repository, listOf(IndexType.INDEX_V1, IndexType.INDEX), unstable, callback)
return update(
context,
repository,
listOf(IndexType.INDEX_V1, IndexType.INDEX),
unstable,
callback
)
}
private fun update(