콘텐츠 메인 - 인기 콘텐츠 정렬 추가
This commit is contained in:
@@ -56,9 +56,15 @@ struct ContentMainView: View {
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
if let contentRanking = viewModel.contentRanking {
|
||||
ContentMainRankingView(item: contentRanking)
|
||||
ContentMainRankingView(
|
||||
sorts: viewModel.contentRankingSortList,
|
||||
item: contentRanking,
|
||||
selectSort: { viewModel.selectedContentRankingSort = $0 },
|
||||
selectedSort: $viewModel.selectedContentRankingSort
|
||||
)
|
||||
.padding(.top, 40)
|
||||
.padding(.horizontal, 13.3)
|
||||
.animation(nil)
|
||||
}
|
||||
|
||||
if viewModel.curationList.count > 0 {
|
||||
|
||||
Reference in New Issue
Block a user