채금 기능 추가
This commit is contained in:
@@ -24,7 +24,8 @@ struct LiveRoomProfilesDialogView: View {
|
||||
roomInfo: GetRoomInfoResponse,
|
||||
registerNotification: @escaping () -> Void,
|
||||
unRegisterNotification: @escaping () -> Void,
|
||||
onClickProfile: @escaping (Int) -> Void
|
||||
onClickProfile: @escaping (Int) -> Void,
|
||||
onClickNoChatting: @escaping (Int, String, String) -> Void
|
||||
) {
|
||||
self._isShowing = isShowing
|
||||
self.viewModel = viewModel
|
||||
@@ -52,13 +53,15 @@ struct LiveRoomProfilesDialogView: View {
|
||||
LiveRoomProfileItemUserView(
|
||||
isStaff: isStaff ,
|
||||
userId: manager.id,
|
||||
creatorId: roomInfo.creatorId,
|
||||
nickname: manager.nickname,
|
||||
profileUrl: manager.profileImage,
|
||||
role: manager.role,
|
||||
onClickChangeListener: { _ in },
|
||||
onClickInviteSpeaker: { _ in },
|
||||
onClickKickOut: { _ in },
|
||||
onClickProfile: onClickProfile
|
||||
onClickProfile: onClickProfile,
|
||||
onClickNoChatting: { _, _, _ in }
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -96,6 +99,7 @@ struct LiveRoomProfilesDialogView: View {
|
||||
LiveRoomProfileItemUserView(
|
||||
isStaff: isStaff,
|
||||
userId: speaker.id,
|
||||
creatorId: roomInfo.creatorId,
|
||||
nickname: speaker.nickname,
|
||||
profileUrl: speaker.profileImage,
|
||||
role: speaker.role,
|
||||
@@ -112,7 +116,8 @@ struct LiveRoomProfilesDialogView: View {
|
||||
viewModel.kickOutId = $0
|
||||
viewModel.isShowKickOutPopup = true
|
||||
},
|
||||
onClickProfile: onClickProfile
|
||||
onClickProfile: onClickProfile,
|
||||
onClickNoChatting: onClickNoChatting
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -137,6 +142,7 @@ struct LiveRoomProfilesDialogView: View {
|
||||
LiveRoomProfileItemUserView(
|
||||
isStaff: isStaff,
|
||||
userId: listener.id,
|
||||
creatorId: roomInfo.creatorId,
|
||||
nickname: listener.nickname,
|
||||
profileUrl: listener.profileImage,
|
||||
role: listener.role,
|
||||
@@ -155,7 +161,8 @@ struct LiveRoomProfilesDialogView: View {
|
||||
viewModel.kickOutId = $0
|
||||
viewModel.isShowKickOutPopup = true
|
||||
},
|
||||
onClickProfile: onClickProfile
|
||||
onClickProfile: onClickProfile,
|
||||
onClickNoChatting: onClickNoChatting
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user