feat(home): 팔로잉 스케줄 섹션을 추가한다
This commit is contained in:
@@ -15,6 +15,7 @@ struct MainHomeView: View {
|
||||
let onTapFollowingAll: () -> Void
|
||||
let onTapChatTab: () -> Void
|
||||
let onTapChatRoom: (Int) -> Void
|
||||
let onTapFollowingSchedule: (CreatorActivityType, Int) -> Void
|
||||
|
||||
@State private var selectedTab: MainHomeTab = .recommendation
|
||||
|
||||
@@ -79,7 +80,8 @@ struct MainHomeView: View {
|
||||
onTapCreator: onTapCreator,
|
||||
onTapFollowingAll: onTapFollowingAll,
|
||||
onTapChatTab: onTapChatTab,
|
||||
onTapChatRoom: onTapChatRoom
|
||||
onTapChatRoom: onTapChatRoom,
|
||||
onTapSchedule: onTapFollowingSchedule
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -118,7 +120,8 @@ struct MainHomeView_Previews: PreviewProvider {
|
||||
onSelectFollowingTab: { true },
|
||||
onTapFollowingAll: {},
|
||||
onTapChatTab: {},
|
||||
onTapChatRoom: { _ in }
|
||||
onTapChatRoom: { _ in },
|
||||
onTapFollowingSchedule: { _, _ in }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user