diff --git a/shared/src/commonMain/kotlin/plus/rua/project/ui/YearGridView.kt b/shared/src/commonMain/kotlin/plus/rua/project/ui/YearGridView.kt index 507624c..4ab39b4 100644 --- a/shared/src/commonMain/kotlin/plus/rua/project/ui/YearGridView.kt +++ b/shared/src/commonMain/kotlin/plus/rua/project/ui/YearGridView.kt @@ -128,8 +128,8 @@ fun YearGridView( // P0-H: 预测量星期标签 val weekdayLayouts = remember(textMeasurer, colors) { - WEEKDAY_LABELS.associate { label -> - label to textMeasurer.measure(label, TextStyle(fontSize = 8.sp, color = colors.weekday)) + WEEKDAY_LABELS.associateWith { label -> + textMeasurer.measure(label, TextStyle(fontSize = 8.sp, color = colors.weekday)) } }