feat(main): 라이브 전체 진입을 추가한다

This commit is contained in:
Yu Sung
2026-07-22 15:47:52 +09:00
parent 70af4923c6
commit a0db58e53f
6 changed files with 44 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ struct MainHomeView: View {
let onTapCharacter: (Int) -> Void
let onTapCommunityPost: (Int) -> Void
let onTapBanner: (RecommendationBannerResponse) -> Void
let onTapLiveAll: () -> Void
let onTapFollowAll: (@escaping () -> Void) -> Void
let onSelectFollowingTab: () -> Bool
let onTapFollowingLogin: () -> Void
@@ -71,6 +72,7 @@ struct MainHomeView: View {
onTapCharacter: onTapCharacter,
onTapCommunityPost: onTapCommunityPost,
onTapBanner: onTapBanner,
onTapLiveAll: onTapLiveAll,
onTapFollowAll: onTapFollowAll
)
case .ranking:
@@ -120,6 +122,7 @@ struct MainHomeView_Previews: PreviewProvider {
onTapCharacter: { _ in },
onTapCommunityPost: { _ in },
onTapBanner: { _ in },
onTapLiveAll: {},
onTapFollowAll: { action in action() },
onSelectFollowingTab: { true },
onTapFollowingLogin: {},