라이브 - 스피커 리스트

- 닉네임 가로폭 28로 수정
This commit is contained in:
Yu Sung 2024-09-25 19:53:21 +09:00
parent e34a172779
commit 1a133158bf
1 changed files with 4 additions and 1 deletions

View File

@ -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,