mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-22 19:02:12 +00:00
Fix: Not showing update action even when possible
This commit is contained in:
parent
1646746129
commit
e4e81e7f0f
@ -99,7 +99,7 @@ class AppViewModelX(val db: DatabaseX, val packageName: String) : ViewModel() {
|
||||
}
|
||||
|
||||
private fun shouldIgnore(appVersionCode: Long): Boolean =
|
||||
extras.value?.ignoredVersion == appVersionCode || extras.value?.ignoreUpdates != false
|
||||
extras.value?.ignoredVersion == appVersionCode || extras.value?.ignoreUpdates == true
|
||||
|
||||
fun setIgnoredVersion(packageName: String, versionCode: Long) {
|
||||
viewModelScope.launch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user