커스텀 폰트 pretendard-regular, gmarket-regular를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -24,7 +24,7 @@ struct RecommendChannelContentItemView: View {
|
||||
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(.white)
|
||||
.lineLimit(1)
|
||||
.truncationMode(.tail)
|
||||
@@ -34,7 +34,7 @@ struct RecommendChannelContentItemView: View {
|
||||
Image("ic_heart_white")
|
||||
|
||||
Text("\(item.likeCount)")
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ struct RecommendChannelContentItemView: View {
|
||||
Image("ic_comment_white")
|
||||
|
||||
Text("\(item.commentCount)")
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user