커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -26,7 +26,7 @@ struct MemberProfileDialog: View {
|
||||
VStack(alignment: .leading, spacing: 21) {
|
||||
HStack(spacing: 0) {
|
||||
Text("프로필")
|
||||
.font(.custom(Font.bold.rawValue, size: 15))
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Spacer()
|
||||
@@ -39,7 +39,7 @@ struct MemberProfileDialog: View {
|
||||
|
||||
if let profile = viewModel.memberProfile {
|
||||
Text(profile.nickname)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
KFImage(URL(string: profile.profileImageUrl))
|
||||
@@ -57,7 +57,7 @@ struct MemberProfileDialog: View {
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Text(profile.isBlocked ? "차단 해제" : "차단")
|
||||
.font(.custom(Font.bold.rawValue, size: 15))
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 13)
|
||||
@@ -77,7 +77,7 @@ struct MemberProfileDialog: View {
|
||||
}
|
||||
|
||||
Text("사용자 신고")
|
||||
.font(.custom(Font.bold.rawValue, size: 15))
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 13)
|
||||
@@ -91,7 +91,7 @@ struct MemberProfileDialog: View {
|
||||
.onTapGesture { viewModel.isShowUesrReportView = true }
|
||||
|
||||
Text("프로필 신고")
|
||||
.font(.custom(Font.bold.rawValue, size: 15))
|
||||
.appFont(size: 15, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.vertical, 13)
|
||||
|
||||
Reference in New Issue
Block a user