mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-08 00:39:54 +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 =
|
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) {
|
fun setIgnoredVersion(packageName: String, versionCode: Long) {
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user