fix: 修复多余文字

This commit is contained in:
yovinchen 2024-11-28 10:52:08 +08:00
parent 3c080fbc05
commit 6c3b366d45

View File

@ -96,7 +96,7 @@ fun AnalysisScreen(
when (selectedType) { when (selectedType) {
AnalysisType.EXPENSE, AnalysisType.INCOME -> { AnalysisType.EXPENSE, AnalysisType.INCOME -> {
Text( Text(
text = if (selectedType == AnalysisType.EXPENSE) "支出分析" else "收入分析", text = if (selectedType == AnalysisType.EXPENSE) "" else "",
style = MaterialTheme.typography.titleMedium, style = MaterialTheme.typography.titleMedium,
modifier = Modifier.padding(vertical = 8.dp) modifier = Modifier.padding(vertical = 8.dp)
) )