mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +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 =
|
private fun shouldIgnore(appVersionCode: Long): Boolean =
|
||||||
extras.value?.ignoredVersion == appVersionCode && extras.value?.ignoreUpdates != false
|
extras.value?.ignoredVersion == appVersionCode || extras.value?.ignoreUpdates != false
|
||||||
|
|
||||||
fun setIgnoredVersion(packageName: String, versionCode: Long) {
|
fun setIgnoredVersion(packageName: String, versionCode: Long) {
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user