mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +00:00
Fix: Ignoring update
This commit is contained in:
parent
df2c6b6ea1
commit
88f0ecc8b7
@ -103,8 +103,8 @@ class AppViewModelX(val db: DatabaseX, val packageName: String) : ViewModel() {
|
||||
}
|
||||
}
|
||||
|
||||
fun shouldIgnore(appVersionCode: Long): Boolean =
|
||||
extras.value?.ignoredVersion == appVersionCode && extras.value?.ignoreUpdates != false
|
||||
private fun shouldIgnore(appVersionCode: Long): Boolean =
|
||||
extras.value?.ignoredVersion == appVersionCode || extras.value?.ignoreUpdates != false
|
||||
|
||||
fun setIgnoredVersion(packageName: String, versionCode: Long) {
|
||||
viewModelScope.launch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user