From c80ad488c6b4411e7d4d779e3ab0de19a1ee9461 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 24 Jul 2026 11:47:20 +0800 Subject: [PATCH] fix(ui): remove duplicate lunar year text in YearHeader --- .../plus/rua/project/ui/YearGridView.kt | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/src/main/kotlin/plus/rua/project/ui/YearGridView.kt b/core/src/main/kotlin/plus/rua/project/ui/YearGridView.kt index 0f787ac..b8bca1b 100644 --- a/core/src/main/kotlin/plus/rua/project/ui/YearGridView.kt +++ b/core/src/main/kotlin/plus/rua/project/ui/YearGridView.kt @@ -446,25 +446,6 @@ fun YearHeader( style = MaterialTheme.typography.bodySmall ) } - AnimatedContent( - targetState = year, - transitionSpec = { - if (targetState > initialState) { - slideInVertically(tween(250)) { -it } togetherWith - slideOutVertically(tween(250)) { it } - } else { - slideInVertically(tween(250)) { it } togetherWith - slideOutVertically(tween(250)) { -it } - } - }, - modifier = Modifier.padding(top = 4.dp) - ) { y -> - Text( - text = lunarYearLabel(y), - color = MaterialTheme.colorScheme.onBackground.copy(alpha = 0.6f), - style = MaterialTheme.typography.bodySmall - ) - } } }