나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -533,7 +533,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
Button(action: { self.isShowSelectDateView = false }) {
|
||||
Text("확인")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: proxy.size.width - 53.4)
|
||||
@@ -564,7 +564,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
Button(action: { self.isShowSelectTimeView = false }) {
|
||||
Text("확인")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.vertical, 10)
|
||||
.frame(width: proxy.size.width)
|
||||
@@ -753,12 +753,7 @@ struct LiveRoomCreateView: View {
|
||||
func PriceButtonView(price: Int, buttonWidth: CGFloat) -> some View {
|
||||
HStack(spacing: 6.7) {
|
||||
Text(price == 0 ? "무료" : "\(price) 캔")
|
||||
.font(.custom(
|
||||
viewModel.price == price ?
|
||||
Font.bold.rawValue :
|
||||
Font.medium.rawValue,
|
||||
size: 14.7
|
||||
))
|
||||
.appFont(size: 14.7, weight: viewModel.price == price ? .bold : .medium)
|
||||
.foregroundColor(viewModel.price == price ? Color.button : Color.gray77)
|
||||
}
|
||||
.frame(width: buttonWidth, height: 48.7)
|
||||
|
||||
Reference in New Issue
Block a user