Skip to content

Commit

Permalink
修复更新时点击应用市场 UI 卡死的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xz-dev committed Mar 15, 2020
1 parent 1737b2a commit d539bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ApplicationsPageViewModel : AppListContainerViewModel() {

private val applications = MutableLiveData<Applications>().apply {
this.observeForever { applications ->
val needUpdateAppList = applications.needUpdateAppList
val needUpdateAppList = applications.getNeedUpdateAppList(false)
val appList = needUpdateAppList + applications.apps.filter {
!needUpdateAppList.contains(it)
}
Expand Down

0 comments on commit d539bb4

Please sign in to comment.