mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +00:00
Fix: Setting ignore updates doesn't hide from updates (closes #242)
This commit is contained in:
parent
7116e7d823
commit
64fa6b3ce3
@ -128,9 +128,13 @@ class MainNavFragmentViewModelX(
|
||||
}
|
||||
installed.postValue(it.associateBy { it.packageName })
|
||||
}
|
||||
/*if (secondaryRequest.updates) secondaryProducts.addSource(db.extrasDao.allLive) {
|
||||
secondaryProducts.value = secondaryProducts.value.filter { secondaryProducts.it.packageName) }
|
||||
}*/
|
||||
if (secondaryRequest.updates) secondaryProducts.addSource(db.extrasDao.allLive) {
|
||||
viewModelScope.launch {
|
||||
withContext(Dispatchers.IO) {
|
||||
secondaryProducts.postValue(db.productDao.queryObject(secondaryRequest))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun setFavorite(packageName: String, setBoolean: Boolean) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user