From 426697403e1b771082ec470a9652e944b556f7a2 Mon Sep 17 00:00:00 2001 From: Ponshu Developer Date: Sun, 5 Apr 2026 02:51:42 +0900 Subject: [PATCH] fix: add maxLines/overflow to MBTI subtitle in soul_screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 長いMBTIタイトルがListTile内でUI崩れを起こす可能性があったため対処。 Co-Authored-By: Claude Sonnet 4.6 --- lib/screens/soul_screen.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/screens/soul_screen.dart b/lib/screens/soul_screen.dart index 8047198..ed64295 100644 --- a/lib/screens/soul_screen.dart +++ b/lib/screens/soul_screen.dart @@ -104,7 +104,9 @@ class _SoulScreenState extends ConsumerState { userProfile.sakePersonaMbti != null ? MBTIType.types[userProfile.sakePersonaMbti]?.title ?? userProfile.sakePersonaMbti! : '未診断(AI分析)', - style: TextStyle(color: appColors.textSecondary) + style: TextStyle(color: appColors.textSecondary), + maxLines: 2, + overflow: TextOverflow.ellipsis, ), trailing: Icon(LucideIcons.chevronRight, color: appColors.iconSubtle), onTap: () {