하트 랭킹 추가
This commit is contained in:
@@ -36,6 +36,7 @@ struct LiveRoomInfoGuestView: View {
|
||||
let onClickProfile: (Int) -> Void
|
||||
let onClickNotice: () -> Void
|
||||
let onClickMenuPan: () -> Void
|
||||
let onClickTotalHeart: () -> Void
|
||||
let onClickTotalDonation: () -> Void
|
||||
let onClickChangeListener: () -> Void
|
||||
let onClickToggleSignature: () -> Void
|
||||
@@ -179,6 +180,7 @@ struct LiveRoomInfoGuestView: View {
|
||||
RoundedRectangle(cornerRadius: 5.3)
|
||||
.stroke(Color.graybb, lineWidth: 1)
|
||||
)
|
||||
.onTapGesture { onClickTotalHeart() }
|
||||
|
||||
HStack(spacing: 6.7) {
|
||||
Image("ic_can")
|
||||
@@ -260,6 +262,7 @@ struct LiveRoomInfoGuestView_Previews: PreviewProvider {
|
||||
onClickProfile: { _ in },
|
||||
onClickNotice: {},
|
||||
onClickMenuPan: {},
|
||||
onClickTotalHeart: {},
|
||||
onClickTotalDonation: {},
|
||||
onClickChangeListener: {},
|
||||
onClickToggleSignature: {}
|
||||
|
@@ -37,6 +37,7 @@ struct LiveRoomInfoHostView: View {
|
||||
let onClickProfile: (Int) -> Void
|
||||
let onClickNotice: () -> Void
|
||||
let onClickMenuPan: () -> Void
|
||||
let onClickTotalHeart: () -> Void
|
||||
let onClickTotalDonation: () -> Void
|
||||
let onClickParticipants: () -> Void
|
||||
let onClickToggleSignature: () -> Void
|
||||
@@ -177,6 +178,7 @@ struct LiveRoomInfoHostView: View {
|
||||
RoundedRectangle(cornerRadius: 5.3)
|
||||
.stroke(Color.graybb, lineWidth: 1)
|
||||
)
|
||||
.onTapGesture { onClickTotalHeart() }
|
||||
|
||||
HStack(spacing: 6.7) {
|
||||
Image("ic_can")
|
||||
@@ -269,6 +271,7 @@ struct LiveRoomInfoHostView_Previews: PreviewProvider {
|
||||
onClickProfile: { _ in },
|
||||
onClickNotice: {},
|
||||
onClickMenuPan: {},
|
||||
onClickTotalHeart: {},
|
||||
onClickTotalDonation: {},
|
||||
onClickParticipants: {},
|
||||
onClickToggleSignature: {}
|
||||
|
Reference in New Issue
Block a user