라이브 상세 페이지 추가
This commit is contained in:
@@ -73,19 +73,22 @@ struct LiveView: View {
|
||||
height: viewModel.eventBannerItems.count > 0 ? screenSize().width * 300 / 1000 : 0,
|
||||
alignment: .center
|
||||
)
|
||||
.padding(.vertical, 40)
|
||||
.padding(.top, 40)
|
||||
}
|
||||
|
||||
if viewModel.liveReservationItems.count > 0 {
|
||||
SectionLiveReservationView(
|
||||
items: viewModel.liveReservationItems,
|
||||
onClickCancel: { viewModel.getSummary() },
|
||||
onClickStart: {_ in},
|
||||
onClickReservation: {_ in},
|
||||
onClickStart: { roomId in processStart(roomId: roomId) },
|
||||
onClickReservation: { roomId in
|
||||
viewModel.reservationLiveRoom(roomId: roomId)
|
||||
},
|
||||
onTapCreateLive: {
|
||||
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .RESERVATION, onSuccess: onCreateSuccess))
|
||||
}
|
||||
)
|
||||
.padding(.top, 40)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user