나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -19,12 +19,7 @@ struct SeriesMainGenreView: View {
|
||||
ForEach(0..<genreList.count, id: \.self) { index in
|
||||
let genre = genreList[index]
|
||||
Text(genre.genre)
|
||||
.font(
|
||||
.custom(
|
||||
selectedGenre.genre == genre.genre ? Font.preBold.rawValue : Font.preRegular.rawValue,
|
||||
size: 16
|
||||
)
|
||||
)
|
||||
.appFont(size: 16, weight: selectedGenre.genre == genre.genre ? .bold : .regular)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 24)
|
||||
.padding(.vertical, 12)
|
||||
|
||||
Reference in New Issue
Block a user