커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -47,7 +47,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
.foregroundColor(Color.white)
|
||||
|
||||
Text("\(cheersItem.date)")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
.padding(.top, 4)
|
||||
|
||||
@@ -56,7 +56,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
TextField("", text: $cheers)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(13.3)
|
||||
.background(Color.gray23)
|
||||
@@ -93,7 +93,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
.padding(.top, 13.3)
|
||||
} else {
|
||||
Text("\(cheersItem.content)")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 16))
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.lineSpacing(8)
|
||||
@@ -105,7 +105,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
TextField("응원댓글에 답글을 남겨보세요!", text: $replyContent)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(13.3)
|
||||
.background(Color.gray23)
|
||||
@@ -137,7 +137,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
if cheersItem.replyList.count <= 0 {
|
||||
if userId == UserDefaults.int(forKey: .userId) {
|
||||
Text("답글쓰기")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.top, 18.3)
|
||||
.onTapGesture {
|
||||
@@ -148,7 +148,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
let reply = cheersItem.replyList[0]
|
||||
VStack(alignment: .leading, spacing: 8.3) {
|
||||
Text(reply.content)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.white)
|
||||
.frame(minWidth: 100)
|
||||
.padding(.horizontal, 6.7)
|
||||
@@ -160,12 +160,12 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
|
||||
HStack(spacing: 6.7) {
|
||||
Text(reply.date)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 10.7))
|
||||
.appFont(size: 10.7, weight: .medium)
|
||||
.foregroundColor(Color.gray52)
|
||||
|
||||
if userId == UserDefaults.int(forKey: .userId) {
|
||||
Text("답글 수정")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.onTapGesture {
|
||||
self.replyContent = reply.content
|
||||
@@ -197,7 +197,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
VStack(spacing: 10) {
|
||||
if cheersItem.memberId != UserDefaults.int(forKey: .userId) {
|
||||
Text("신고하기")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
reportPopup(cheersItem.cheersId)
|
||||
@@ -207,7 +207,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
|
||||
if cheersItem.memberId == UserDefaults.int(forKey: .userId) {
|
||||
Text("수정")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
isModeModify = true
|
||||
@@ -220,7 +220,7 @@ struct UserProfileFanTalkCheersItemView: View {
|
||||
cheersItem.memberId == UserDefaults.int(forKey: .userId)
|
||||
{
|
||||
Text("삭제")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onTapGesture {
|
||||
onClickDelete(cheersItem.cheersId)
|
||||
|
||||
Reference in New Issue
Block a user