커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -22,14 +22,14 @@ struct LiveRoomProfileItemTitleView: View {
|
||||
|
||||
if let count = count {
|
||||
Text("\(count)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.appFont(size: 13, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.leading, 6.7)
|
||||
}
|
||||
|
||||
if let totalCount = totalCount {
|
||||
Text("/\(totalCount > 5 ? 5 : totalCount - 1)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13))
|
||||
.appFont(size: 13, weight: .medium)
|
||||
.foregroundColor(Color.graybb)
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ struct LiveRoomProfileItemMasterView: View {
|
||||
.padding(.leading, 16.7)
|
||||
|
||||
Text(nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.leading, 4)
|
||||
}
|
||||
@@ -114,7 +114,7 @@ struct LiveRoomProfileItemUserView: View {
|
||||
.padding(.leading, 16.7)
|
||||
|
||||
Text(nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.lineLimit(2)
|
||||
.multilineTextAlignment(.leading)
|
||||
@@ -122,7 +122,7 @@ struct LiveRoomProfileItemUserView: View {
|
||||
.padding(.trailing, 10)
|
||||
} else {
|
||||
Text(nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.lineLimit(2)
|
||||
.multilineTextAlignment(.leading)
|
||||
@@ -133,7 +133,7 @@ struct LiveRoomProfileItemUserView: View {
|
||||
|
||||
if role == .LISTENER && isStaff {
|
||||
Text("스피커로 초대")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.appFont(size: 10, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 5.5)
|
||||
.padding(.vertical, 12)
|
||||
@@ -150,7 +150,7 @@ struct LiveRoomProfileItemUserView: View {
|
||||
|
||||
if role == .SPEAKER && (userId == UserDefaults.int(forKey: .userId) || isStaff) {
|
||||
Text("리스너로 변경")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.appFont(size: 10, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 5.5)
|
||||
.padding(.vertical, 12)
|
||||
@@ -163,7 +163,7 @@ struct LiveRoomProfileItemUserView: View {
|
||||
|
||||
if role != .MANAGER && creatorId == UserDefaults.int(forKey: .userId) {
|
||||
Text("채금")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.appFont(size: 10, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 5.5)
|
||||
.padding(.vertical, 12)
|
||||
|
||||
Reference in New Issue
Block a user