Fix agent name badge truncation in iOS phase bubble

Replace fixedSize modifier with truncationMode(.tail) to properly
show ellipsis when agent names are too long to fit.
This commit is contained in:
Thomas Marchand
2026-01-16 14:14:06 +00:00
parent 582bba78ad
commit 8bd8d85e6c

View File

@@ -1693,7 +1693,7 @@ private struct PhaseBubble: View {
.font(.caption2.monospaced())
.foregroundStyle(Theme.textMuted)
.lineLimit(1)
.fixedSize(horizontal: true, vertical: false)
.truncationMode(.tail)
.padding(.horizontal, 6)
.padding(.vertical, 2)
.background(Theme.backgroundTertiary)