manager: Fix new version tip

This commit is contained in:
weishu
2024-03-17 13:30:13 +08:00
parent 44c0b3a767
commit a5e76553e4

View File

@@ -110,7 +110,7 @@ fun UpdateCard() {
val updateText = stringResource(id = R.string.module_update) val updateText = stringResource(id = R.string.module_update)
AnimatedVisibility( AnimatedVisibility(
visible = newVersionCode >= currentVersionCode, visible = newVersionCode > currentVersionCode,
enter = fadeIn() + expandVertically(), enter = fadeIn() + expandVertically(),
exit = shrinkVertically() + fadeOut() exit = shrinkVertically() + fadeOut()
) { ) {