커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -43,7 +43,7 @@ struct UserProfileView: View {
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
HStack(spacing: 8) {
|
||||
Text(creatorProfile.creator.nickname)
|
||||
.font(.custom(Font.preBold.rawValue, size: 32))
|
||||
.appFont(size: 32, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
if creatorProfile.creator.creatorId != UserDefaults.int(forKey: .userId) {
|
||||
@@ -65,7 +65,7 @@ struct UserProfileView: View {
|
||||
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
Text(I18n.MemberChannel.followersList)
|
||||
.font(.custom(Font.preBold.rawValue, size: 16))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.black)
|
||||
.padding(.vertical, 8)
|
||||
.frame(maxWidth: .infinity)
|
||||
@@ -189,7 +189,7 @@ struct UserProfileView: View {
|
||||
VStack(alignment: .leading, spacing: 14) {
|
||||
HStack(spacing: 0) {
|
||||
Text(I18n.MemberChannel.liveHeader)
|
||||
.font(.custom(Font.preBold.rawValue, size: 26))
|
||||
.appFont(size: 26, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
|
||||
Spacer()
|
||||
@@ -198,7 +198,7 @@ struct UserProfileView: View {
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
HStack(spacing: 8) {
|
||||
Text(I18n.MemberChannel.rouletteSettings)
|
||||
.font(.custom(Font.preBold.rawValue, size: 16))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.vertical, 12)
|
||||
.frame(maxWidth: .infinity)
|
||||
@@ -207,7 +207,7 @@ struct UserProfileView: View {
|
||||
.onTapGesture { isShowRouletteSettings = true }
|
||||
|
||||
Text(I18n.MemberChannel.menuSettings)
|
||||
.font(.custom(Font.preBold.rawValue, size: 16))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.vertical, 12)
|
||||
.frame(maxWidth: .infinity)
|
||||
@@ -259,7 +259,7 @@ struct UserProfileView: View {
|
||||
VStack(alignment: .leading, spacing: 14) {
|
||||
HStack(spacing: 0) {
|
||||
Text(I18n.MemberChannel.communityHeader)
|
||||
.font(.custom(Font.preBold.rawValue, size: 26))
|
||||
.appFont(size: 26, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(.horizontal, 24)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user