mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Showing update secondary action while downloading
This commit is contained in:
parent
534d65d63c
commit
fc719f7e02
@ -58,7 +58,7 @@ class AppViewModelX(val db: DatabaseX, val packageName: String) : ViewModel() {
|
||||
product != null && installed == null && compatible && downloadState.value == null
|
||||
val canUpdate =
|
||||
product != null && compatible && product.canUpdate(installed) &&
|
||||
!shouldIgnore(product.versionCode)
|
||||
!shouldIgnore(product.versionCode) && downloadState.value == null
|
||||
val canUninstall = product != null && installed != null && !installed.isSystem
|
||||
val canLaunch =
|
||||
product != null && installed != null && installed.launcherActivities.isNotEmpty()
|
||||
|
Loading…
x
Reference in New Issue
Block a user