새로운 콘텐츠 전체보기 테마영역, 인기 콘텐츠 전체 보기 정렬영역 높이 수정

AS-IS : LazyHStack을 사용해서 화면 전체영역만큼 차지함
TO-BE : HStack으로 변경 - 내용이 얼마 되지 않으므로 성능 차이가 나지 않는다.
This commit is contained in:
Yu Sung
2023-12-27 14:45:34 +09:00
parent a66f76f9a6
commit b2a20969b8
3 changed files with 3 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ struct ContentMainNewContentThemeView: View {
var body: some View {
ScrollView(.horizontal, showsIndicators: false) {
LazyHStack(alignment: .top, spacing: 8) {
HStack(spacing: 8) {
ForEach(0..<themes.count, id: \.self) { index in
let theme = themes[index]
Text(theme)

View File

@@ -15,7 +15,7 @@ struct ContentMainRankingSortView: View {
var body: some View {
ScrollView(.horizontal, showsIndicators: false) {
LazyHStack(alignment: .top, spacing: 8) {
HStack(alignment: .top, spacing: 8) {
ForEach(0..<sorts.count, id: \.self) { index in
let sort = sorts[index]
Text(sort)