나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -37,27 +37,27 @@ struct LiveRoomDonationChatItemView: View {
|
||||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
HStack(spacing: 0) {
|
||||
Text(chatMessage.nickname)
|
||||
.font(.system(size: 12))
|
||||
.appFont(size: 12)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("님이")
|
||||
.font(.system(size: 12, weight: .light))
|
||||
.appFont(size: 12, weight: .light)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text("\(chatMessage.can)캔")
|
||||
.font(.system(size: 15))
|
||||
.appFont(size: 15)
|
||||
.foregroundColor(Color(hex: "fdca2f"))
|
||||
|
||||
Text(chatMessage.chat.contains("비밀") ? "으로 비밀미션을 보냈습니다.🤫" : "을 후원하셨습니다.💰🪙")
|
||||
.font(.system(size: 15))
|
||||
.appFont(size: 15)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
if !chatMessage.donationMessage.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
||||
Text("\"\(chatMessage.donationMessage)\"")
|
||||
.font(.system(size: 15))
|
||||
.appFont(size: 15)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user