Do not show "Not installed for this user" summary for archived app

Test: AllAppListTest

Bug: 304255511
Change-Id: I806fed91d4716e8e21f70ec1ad8572f246c7f031
This commit is contained in:
Mark Kim
2023-10-17 15:40:11 +00:00
parent 35629bd16b
commit 24004592cc
2 changed files with 18 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ class AllAppListModel(
derivedStateOf {
storageSummary.value +
when {
!record.app.installed -> {
!record.app.installed && !record.app.isArchived -> {
System.lineSeparator() + context.getString(R.string.not_installed)
}
isDisabled(record) -> {