From d539bb4ceec7581582bee769f0de0a8e6a55e4c1 Mon Sep 17 00:00:00 2001 From: xz-dev Date: Sun, 15 Mar 2020 10:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E6=97=B6?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=BA=94=E7=94=A8=E5=B8=82=E5=9C=BA=20UI=20?= =?UTF-8?q?=E5=8D=A1=E6=AD=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 +- .../ui/viewmodels/viewmodel/ApplicationsPageViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 168847758..79ce7ed59 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,7 +25,7 @@ android { minSdkVersion 21 targetSdkVersion 29 versionCode 37 - versionName "0.1.1-rc" + versionName "0.1.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/java/net/xzos/upgradeall/ui/viewmodels/viewmodel/ApplicationsPageViewModel.kt b/app/src/main/java/net/xzos/upgradeall/ui/viewmodels/viewmodel/ApplicationsPageViewModel.kt index 2827a1a45..faf967682 100644 --- a/app/src/main/java/net/xzos/upgradeall/ui/viewmodels/viewmodel/ApplicationsPageViewModel.kt +++ b/app/src/main/java/net/xzos/upgradeall/ui/viewmodels/viewmodel/ApplicationsPageViewModel.kt @@ -7,7 +7,7 @@ class ApplicationsPageViewModel : AppListContainerViewModel() { private val applications = MutableLiveData().apply { this.observeForever { applications -> - val needUpdateAppList = applications.needUpdateAppList + val needUpdateAppList = applications.getNeedUpdateAppList(false) val appList = needUpdateAppList + applications.apps.filter { !needUpdateAppList.contains(it) }