메인 라이브 탭 - 커뮤니티 포스트 영역 추가
This commit is contained in:
@@ -25,11 +25,10 @@ struct LiveView: View {
|
||||
viewModel.getSummary()
|
||||
}
|
||||
) {
|
||||
VStack(spacing: 0) {
|
||||
LazyVStack(spacing: 40) {
|
||||
if viewModel.recommendLiveItems.count > 0 {
|
||||
SectionRecommendLiveView(items: viewModel.recommendLiveItems)
|
||||
.padding(.top, 13.3)
|
||||
.padding(.bottom, 40)
|
||||
}
|
||||
|
||||
if viewModel.recommendChannelItems.count > 0 {
|
||||
@@ -50,7 +49,6 @@ struct LiveView: View {
|
||||
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess))
|
||||
}
|
||||
)
|
||||
.padding(.top, 40)
|
||||
|
||||
if viewModel.eventBannerItems.count > 0 {
|
||||
SectionEventBannerView(items: viewModel.eventBannerItems)
|
||||
@@ -59,7 +57,10 @@ struct LiveView: View {
|
||||
height: viewModel.eventBannerItems.count > 0 ? screenSize().width * 300 / 1000 : 0,
|
||||
alignment: .center
|
||||
)
|
||||
.padding(.top, 40)
|
||||
}
|
||||
|
||||
if viewModel.communityPostItems.count > 0 {
|
||||
SectionCommunityPostView(items: viewModel.communityPostItems)
|
||||
}
|
||||
|
||||
SectionLiveReservationView(
|
||||
@@ -73,7 +74,6 @@ struct LiveView: View {
|
||||
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .RESERVATION, onSuccess: onCreateSuccess))
|
||||
}
|
||||
)
|
||||
.padding(.top, 40)
|
||||
}
|
||||
}
|
||||
.frame(width: geo.size.width, height: geo.size.height)
|
||||
|
||||
Reference in New Issue
Block a user