Skip to content

Commit 5524c86

Browse files
committed
fix: Show compatibility version description if available
1 parent 01ee155 commit 5524c86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/app/morphe/manager/ui/viewmodel/HomeViewModel.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,8 @@ class HomeViewModel(
21122112
val isExperimental = pkg.experimentalVersions?.contains(version) == true
21132113
// If a version appears in multiple patches, prefer stable over experimental
21142114
if (version !in map || isExperimental.not()) {
2115-
map[version] = AppTarget(version = version, isExperimental = isExperimental)
2115+
val description = pkg.versionDescriptions?.get(version)
2116+
map[version] = AppTarget(version = version, isExperimental = isExperimental, description = description)
21162117
}
21172118
}
21182119
}

0 commit comments

Comments
 (0)