mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-20 22:29:19 +00:00
Update: Replace entity's Product usage with database.entity's fully
This commit is contained in:
@ -458,8 +458,9 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
val repository = installedRepository.third!!
|
||||
|
||||
val productRepository = db.productDao.get(packageName)
|
||||
.map { product -> Pair(product?.data!!, repository) }
|
||||
.filterNotNull()
|
||||
.filter { product -> product.repositoryId == repository.id }
|
||||
.map { product -> Pair(product, repository) }
|
||||
|
||||
scope.launch {
|
||||
Utils.startUpdate(
|
||||
|
Reference in New Issue
Block a user