parent
e43e485154
commit
55d35222a9
|
@ -95,7 +95,7 @@ struct LiveRoomChatItemView: View {
|
|||
HStack(spacing: 5) {
|
||||
if chatMessage.rank == -3 {
|
||||
Text("스탭")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.font(.system(size: 10))
|
||||
.foregroundColor(.white)
|
||||
.padding(2)
|
||||
.background(Color(hex: "4999e3"))
|
||||
|
@ -103,12 +103,12 @@ struct LiveRoomChatItemView: View {
|
|||
}
|
||||
|
||||
Text(chatMessage.nickname)
|
||||
.font(.custom(Font.light.rawValue, size: 12))
|
||||
.font(.system(size: 12, weight: .light))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
Text(chatMessage.chat)
|
||||
.font(.custom(Font.medium.rawValue, size: 14))
|
||||
.font(.system(size: 14))
|
||||
.foregroundColor(.white)
|
||||
.multilineTextAlignment(.leading)
|
||||
.lineLimit(nil)
|
||||
|
|
|
@ -30,27 +30,27 @@ struct LiveRoomDonationChatItemView: View {
|
|||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
HStack(spacing: 0) {
|
||||
Text(chatMessage.nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("님이")
|
||||
.font(.custom(Font.light.rawValue, size: 12))
|
||||
.font(.system(size: 12, weight: .light))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("\(chatMessage.can)캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(Color(hex: "fdca2f"))
|
||||
|
||||
Text("을 후원하셨습니다.")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
if !chatMessage.donationMessage.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
||||
Text("\"\(chatMessage.donationMessage)\"")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,15 +14,15 @@ struct LiveRoomJoinChatItemView: View {
|
|||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
Text("'")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
Text(chatMessage.nickname)
|
||||
.font(.custom(Font.bold.rawValue, size: 12))
|
||||
.font(.system(size: 12, weight: .bold))
|
||||
.foregroundColor(Color(hex: "ffdc00"))
|
||||
|
||||
Text("'님이 입장하셨습니다.")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
.padding(.vertical, 6.7)
|
||||
|
|
|
@ -30,21 +30,21 @@ struct LiveRoomRouletteDonationChatItemView: View {
|
|||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
HStack(spacing: 0) {
|
||||
Text(chatMessage.nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("님의 룰렛 결과?")
|
||||
.font(.custom(Font.light.rawValue, size: 12))
|
||||
.font(.system(size: 12, weight: .light))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("[\(chatMessage.rouletteResult)]")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(Color(hex: "ffe500"))
|
||||
|
||||
Text(" 당첨!")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue