fix(main): 현재 라이브 전체보기를 보정한다
This commit is contained in:
@@ -11,7 +11,6 @@ struct SectionLiveNowView: View {
|
||||
|
||||
let items: [GetRoomListResponse]
|
||||
|
||||
let onClickParticipant: (Int) -> Void
|
||||
let onTapItem: (GetRoomListResponse) -> Void
|
||||
let onTapCreateLive: () -> Void
|
||||
let onClickRefresh: () -> Void
|
||||
@@ -29,7 +28,7 @@ struct SectionLiveNowView: View {
|
||||
Text(I18n.Common.viewAll)
|
||||
.appFont(size: 14, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
.onTapGesture { AppState.shared.setAppStep(step: .liveNowAll(onClickParticipant: onClickParticipant)) }
|
||||
.onTapGesture { AppState.shared.setAppStep(step: .liveNowAll) }
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, 24)
|
||||
@@ -95,7 +94,6 @@ struct SectionLiveNowView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
SectionLiveNowView(
|
||||
items: [],
|
||||
onClickParticipant: { _ in },
|
||||
onTapItem: { _ in },
|
||||
onTapCreateLive: {},
|
||||
onClickRefresh: {}
|
||||
|
||||
Reference in New Issue
Block a user