From 1a133158bf7b65a69f18a2e13e94d92a0ae785e0 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 25 Sep 2024 19:53:21 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20-=20=EC=8A=A4?= =?UTF-8?q?=ED=94=BC=EC=BB=A4=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20-=20?= =?UTF-8?q?=EB=8B=89=EB=84=A4=EC=9E=84=20=EA=B0=80=EB=A1=9C=ED=8F=AD=2028?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Room/V2/Component/View/LiveRoomInfoSpeakerView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SodaLive/Sources/Live/Room/V2/Component/View/LiveRoomInfoSpeakerView.swift b/SodaLive/Sources/Live/Room/V2/Component/View/LiveRoomInfoSpeakerView.swift index 1d59515..5a9cde6 100644 --- a/SodaLive/Sources/Live/Room/V2/Component/View/LiveRoomInfoSpeakerView.swift +++ b/SodaLive/Sources/Live/Room/V2/Component/View/LiveRoomInfoSpeakerView.swift @@ -43,6 +43,9 @@ struct LiveRoomInfoSpeakerView: View { Text(nickname) .font(.custom(Font.medium.rawValue, fixedSize: 8.7)) .foregroundColor(.gray77) + .lineLimit(1) + .truncationMode(.tail) + .frame(width: 28) } .onTapGesture { onClickProfile() } } @@ -51,7 +54,7 @@ struct LiveRoomInfoSpeakerView: View { struct LiveRoomInfoSpeakerView_Previews: PreviewProvider { static var previews: some View { LiveRoomInfoSpeakerView( - nickname: "청령", + nickname: "테스트중입니다", profileUrl: "https://cf.sodalive.net/profile/13/13-profile-fabb75e0-2870-4d99-900e-1d9aa63e605b-685-1704859996417", isMute: false, isActiveSpeaker: true,