mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Add: Architecture label on releases for a specific architecture
This commit is contained in:
parent
569d6aaac4
commit
fc370f9a9b
@ -118,6 +118,16 @@ fun ReleaseItemContent(
|
|||||||
).format(DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT))
|
).format(DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT))
|
||||||
} else ""
|
} else ""
|
||||||
) {
|
) {
|
||||||
|
AnimatedVisibility(
|
||||||
|
visible = release.platforms.size == 1,
|
||||||
|
enter = fadeIn(),
|
||||||
|
exit = fadeOut()
|
||||||
|
) {
|
||||||
|
ReleaseBadge(
|
||||||
|
modifier = Modifier.padding(top = 8.dp),
|
||||||
|
text = release.platforms.first()
|
||||||
|
)
|
||||||
|
}
|
||||||
AnimatedVisibility(
|
AnimatedVisibility(
|
||||||
visible = isSuggested or isInstalled,
|
visible = isSuggested or isInstalled,
|
||||||
enter = fadeIn(),
|
enter = fadeIn(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user