커스텀 폰트 pretendard-regular, gmarket-regular를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -29,7 +29,7 @@ struct TalkItemView: View {
|
||||
.lineLimit(1)
|
||||
|
||||
Text(item.opponentType)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .regular)
|
||||
.foregroundColor(Color(hex: "D9FCF4"))
|
||||
.lineLimit(1)
|
||||
.padding(.horizontal, 5)
|
||||
@@ -40,14 +40,14 @@ struct TalkItemView: View {
|
||||
Spacer()
|
||||
|
||||
Text(item.lastMessageTimeLabel)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
.lineLimit(1)
|
||||
}
|
||||
|
||||
if let message = item.lastMessagePreview {
|
||||
Text(message)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .regular)
|
||||
.foregroundColor(Color(hex: "b0bec5"))
|
||||
.lineLimit(2)
|
||||
.truncationMode(.tail)
|
||||
|
||||
Reference in New Issue
Block a user