feat(main): 라이브 전체 진입을 추가한다
This commit is contained in:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user