큐레이션 전체보기 페이지 추가
This commit is contained in:
@@ -24,7 +24,13 @@ struct ContentMainCurationItemView: View {
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
.onTapGesture {
|
||||
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .curationAll(
|
||||
title: item.title,
|
||||
curationId: item.curationId
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -14,8 +14,7 @@ struct ContentMainCurationView: View {
|
||||
var body: some View {
|
||||
LazyVStack(spacing: 40) {
|
||||
ForEach(0..<items.count, id: \.self) {
|
||||
let item = items[$0]
|
||||
ContentMainCurationItemView(item: item)
|
||||
ContentMainCurationItemView(item: items[$0])
|
||||
.padding(.horizontal, 13.3)
|
||||
}
|
||||
}
|
||||
|
@@ -33,6 +33,7 @@ struct GetAudioContentMainItem: Decodable {
|
||||
}
|
||||
|
||||
struct GetAudioContentCurationResponse: Decodable {
|
||||
let curationId: Int
|
||||
let title: String
|
||||
let description: String
|
||||
let contents: [GetAudioContentMainItem]
|
||||
|
Reference in New Issue
Block a user