From a5e76553e461dfbd7ab012a1ddf5143871a72d8d Mon Sep 17 00:00:00 2001 From: weishu Date: Sun, 17 Mar 2024 13:30:13 +0800 Subject: [PATCH] manager: Fix new version tip --- manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt index 0f57a37eb00c..fafed693e85b 100644 --- a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt +++ b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt @@ -110,7 +110,7 @@ fun UpdateCard() { val updateText = stringResource(id = R.string.module_update) AnimatedVisibility( - visible = newVersionCode >= currentVersionCode, + visible = newVersionCode > currentVersionCode, enter = fadeIn() + expandVertically(), exit = shrinkVertically() + fadeOut() ) {