크리에이터 채널 시리즈 - 스크롤뷰 추가
시리즈 전체 보기 - 상단 정렬 방식으로 수정
This commit is contained in:
		| @@ -14,9 +14,9 @@ struct SeriesListAllView: View { | ||||
|     let creatorId: Int | ||||
|      | ||||
|     let columns = [ | ||||
|         GridItem(.flexible()), | ||||
|         GridItem(.flexible()), | ||||
|         GridItem(.flexible()) | ||||
|         GridItem(.flexible(), alignment: .top), | ||||
|         GridItem(.flexible(), alignment: .top), | ||||
|         GridItem(.flexible(), alignment: .top) | ||||
|     ] | ||||
|      | ||||
|     var body: some View { | ||||
|   | ||||
| @@ -29,15 +29,17 @@ struct UserProfileSeriesView: View { | ||||
|                     } | ||||
|             } | ||||
|              | ||||
|             HStack(spacing: 13.3) { | ||||
|                 ForEach(0..<items.count, id: \.self) { | ||||
|                     let item = items[$0] | ||||
|                     SeriesListBigItemView(item: item) | ||||
|                         .contentShape(Rectangle()) | ||||
|                         .onTapGesture { | ||||
|                             AppState.shared | ||||
|                                 .setAppStep(step: .seriesDetail(seriesId: item.seriesId)) | ||||
|                         } | ||||
|             ScrollView(.horizontal, showsIndicators: false) { | ||||
|                 HStack(spacing: 13.3) { | ||||
|                     ForEach(0..<items.count, id: \.self) { | ||||
|                         let item = items[$0] | ||||
|                         SeriesListBigItemView(item: item) | ||||
|                             .contentShape(Rectangle()) | ||||
|                             .onTapGesture { | ||||
|                                 AppState.shared | ||||
|                                     .setAppStep(step: .seriesDetail(seriesId: item.seriesId)) | ||||
|                             } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|   | ||||
| @@ -79,7 +79,7 @@ struct SeriesListItemView: View { | ||||
|                 .font(.custom(Font.medium.rawValue, size: 11)) | ||||
|                 .foregroundColor(Color.gray77) | ||||
|         } | ||||
|         .frame(width: 116.7) | ||||
|         .frame(width: 102) | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung