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