라이브 - 스피커 리스트
- 닉네임 가로폭 28로 수정
This commit is contained in:
@@ -43,6 +43,9 @@ struct LiveRoomInfoSpeakerView: View {
|
|||||||
Text(nickname)
|
Text(nickname)
|
||||||
.font(.custom(Font.medium.rawValue, fixedSize: 8.7))
|
.font(.custom(Font.medium.rawValue, fixedSize: 8.7))
|
||||||
.foregroundColor(.gray77)
|
.foregroundColor(.gray77)
|
||||||
|
.lineLimit(1)
|
||||||
|
.truncationMode(.tail)
|
||||||
|
.frame(width: 28)
|
||||||
}
|
}
|
||||||
.onTapGesture { onClickProfile() }
|
.onTapGesture { onClickProfile() }
|
||||||
}
|
}
|
||||||
@@ -51,7 +54,7 @@ struct LiveRoomInfoSpeakerView: View {
|
|||||||
struct LiveRoomInfoSpeakerView_Previews: PreviewProvider {
|
struct LiveRoomInfoSpeakerView_Previews: PreviewProvider {
|
||||||
static var previews: some View {
|
static var previews: some View {
|
||||||
LiveRoomInfoSpeakerView(
|
LiveRoomInfoSpeakerView(
|
||||||
nickname: "청령",
|
nickname: "테스트중입니다",
|
||||||
profileUrl: "https://cf.sodalive.net/profile/13/13-profile-fabb75e0-2870-4d99-900e-1d9aa63e605b-685-1704859996417",
|
profileUrl: "https://cf.sodalive.net/profile/13/13-profile-fabb75e0-2870-4d99-900e-1d9aa63e605b-685-1704859996417",
|
||||||
isMute: false,
|
isMute: false,
|
||||||
isActiveSpeaker: true,
|
isActiveSpeaker: true,
|
||||||
|
Reference in New Issue
Block a user