나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용

This commit is contained in:
Yu Sung
2026-01-23 03:46:11 +09:00
parent b3331d5512
commit 9533b06d1e
21 changed files with 48 additions and 87 deletions

View File

@@ -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)
}
}