feat: 메인 홈 - 크리에이터 랭킹, 추천 채널
- 터치시 크리에이터 채널로 이동하는 기능 추가
This commit is contained in:
@@ -68,6 +68,9 @@ struct HomeCreatorRankingItemView: View {
|
|||||||
.padding(.leading, 10)
|
.padding(.leading, 10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onTapGesture {
|
||||||
|
AppState.shared.setAppStep(step: .creatorDetail(userId: item.id))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ struct RecommendChannelItemView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onTapGesture {
|
||||||
|
AppState.shared.setAppStep(step: .creatorDetail(userId: item.channelId))
|
||||||
|
}
|
||||||
|
|
||||||
ForEach(0..<item.contentList.count, id: \.self) {
|
ForEach(0..<item.contentList.count, id: \.self) {
|
||||||
RecommendChannelContentItemView(item: item.contentList[$0])
|
RecommendChannelContentItemView(item: item.contentList[$0])
|
||||||
|
|||||||
Reference in New Issue
Block a user