콘텐츠 메인 무료 탭
- 새로운 무료 콘텐츠 전체보기
This commit is contained in:
@@ -24,7 +24,7 @@ struct ContentMainNewContentView: View {
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
.onTapGesture {
|
||||
AppState.shared.setAppStep(step: .newContentAll)
|
||||
AppState.shared.setAppStep(step: .newContentAll(isFree: false))
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,7 @@ struct ContentMainTabContentView: View {
|
||||
title: "새로운 단편",
|
||||
onClickMore: {
|
||||
AppState.shared
|
||||
.setAppStep(step: .newContentAll)
|
||||
.setAppStep(step: .newContentAll(isFree: false))
|
||||
},
|
||||
themeList: viewModel.contentThemeList,
|
||||
contentList: viewModel.newContentList
|
||||
|
@@ -44,7 +44,10 @@ struct ContentMainTabFreeView: View {
|
||||
if !viewModel.themeList.isEmpty {
|
||||
ContentMainNewContentViewV2(
|
||||
title: "새로운 무료 콘텐츠",
|
||||
onClickMore: {},
|
||||
onClickMore: {
|
||||
AppState.shared
|
||||
.setAppStep(step: .newContentAll(isFree: true))
|
||||
},
|
||||
themeList: viewModel.themeList,
|
||||
contentList: viewModel.newFreeContentList
|
||||
) {
|
||||
|
Reference in New Issue
Block a user