fix: add maxLines/overflow to MBTI subtitle in soul_screen

長いMBTIタイトルがListTile内でUI崩れを起こす可能性があったため対処。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ponshu Developer 2026-04-05 02:51:42 +09:00
parent 57a2cf89bb
commit 426697403e
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ class _SoulScreenState extends ConsumerState<SoulScreen> {
userProfile.sakePersonaMbti != null userProfile.sakePersonaMbti != null
? MBTIType.types[userProfile.sakePersonaMbti]?.title ?? userProfile.sakePersonaMbti! ? MBTIType.types[userProfile.sakePersonaMbti]?.title ?? userProfile.sakePersonaMbti!
: '未診断AI分析', : '未診断AI分析',
style: TextStyle(color: appColors.textSecondary) style: TextStyle(color: appColors.textSecondary),
maxLines: 2,
overflow: TextOverflow.ellipsis,
), ),
trailing: Icon(LucideIcons.chevronRight, color: appColors.iconSubtle), trailing: Icon(LucideIcons.chevronRight, color: appColors.iconSubtle),
onTap: () { onTap: () {