커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -28,7 +28,7 @@ struct ContentPlayerView: View {
|
||||
|
||||
if !playerManager.isShowPlaylist {
|
||||
Text(playerManager.title)
|
||||
.font(.custom(Font.medium.rawValue, size: 16))
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(.grayee)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(.top, 16)
|
||||
@@ -43,7 +43,7 @@ struct ContentPlayerView: View {
|
||||
.clipShape(Circle())
|
||||
|
||||
Text(playerManager.nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(.gray90)
|
||||
|
||||
Spacer()
|
||||
@@ -115,13 +115,13 @@ struct ContentPlayerView: View {
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text(secondsToMinutesSeconds(seconds: Int(playerManager.currentTime)))
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
|
||||
Spacer()
|
||||
|
||||
Text(secondsToMinutesSeconds(seconds: Int(playerManager.duration)))
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.gray77)
|
||||
}
|
||||
.padding(.top, 5.3)
|
||||
|
||||
Reference in New Issue
Block a user