Skip to content

Commit d657a54

Browse files
Limit participant action label to 1 row (#1389)
Co-authored-by: Nuno Vieira <nuno.fcvieira93@gmail.com>
1 parent a7fa5fb commit d657a54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/StreamChatSwiftUI/ChatChannel/ChannelInfo/ParticipantInfoView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ struct ParticipantInfoView<Factory: ViewFactory>: View {
130130
.frame(width: tokens.spacingLg)
131131
.foregroundColor(action.isDestructive ? Color(colors.accentError) : Color(colors.textSecondary))
132132
Text(action.title)
133+
.lineLimit(1)
133134
.font(fonts.body)
134135
.foregroundColor(action.isDestructive ? Color(colors.accentError) : Color(colors.textPrimary))
135136
Spacer()

0 commit comments

Comments
 (0)