feat(content): 추천 전체보기를 연결한다
This commit is contained in:
@@ -178,7 +178,8 @@ struct MainView: View {
|
||||
onTapNotificationList: handleHomeNotificationListTap,
|
||||
onTapContent: handleRecommendationContentTap,
|
||||
onTapBanner: handleContentAudioBannerTap,
|
||||
onTapSeries: handleContentOriginalSeriesTap
|
||||
onTapSeries: handleContentOriginalSeriesTap,
|
||||
onTapNewAndHotAll: handleContentNewAndHotAllTap
|
||||
)
|
||||
case .chat:
|
||||
MainPlaceholderTabView(title: MainTab.chat.title)
|
||||
@@ -576,6 +577,12 @@ struct MainView: View {
|
||||
openRecommendationBannerLink(item.link)
|
||||
}
|
||||
|
||||
private func handleContentNewAndHotAllTap() {
|
||||
performRecommendationDetailAction {
|
||||
appState.setAppStep(step: .contentOverview(type: .newAndHotAudio))
|
||||
}
|
||||
}
|
||||
|
||||
private func handleContentOriginalSeriesTap(seriesId: Int) {
|
||||
guard seriesId > 0 else { return }
|
||||
performRecommendationDetailAction {
|
||||
|
||||
Reference in New Issue
Block a user