나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -66,14 +66,7 @@ struct VoiceMessageWriteView: View {
|
||||
viewModel.recipientNickname :
|
||||
I18n.TextMessage.recipientPlaceholder
|
||||
)
|
||||
.font(
|
||||
.custom(
|
||||
viewModel.recipientNickname.count > 0 ?
|
||||
Font.bold.rawValue :
|
||||
Font.light.rawValue,
|
||||
size: 16.7
|
||||
)
|
||||
)
|
||||
.appFont(size: 16.7, weight: viewModel.recipientNickname.count > 0 ? .bold : .light)
|
||||
.foregroundColor(
|
||||
Color(
|
||||
hex:
|
||||
|
||||
Reference in New Issue
Block a user