From b5debbe74d6523a3cf15b444367b29a6c6d90b27 Mon Sep 17 00:00:00 2001 From: xfy Date: Tue, 19 May 2026 16:17:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=94=A8=20associateWith=20?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E6=98=9F=E6=9C=9F=E6=A0=87=E7=AD=BE=20map=20?= =?UTF-8?q?=E6=9E=84=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- .../src/commonMain/kotlin/plus/rua/project/ui/YearGridView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) } }