라이브 입장 메시지 on/off 스위치 추가
- 라이브 정보 수정 가장 아래에 입장 메시지 on/off 스위치 추가
This commit is contained in:
@@ -731,17 +731,19 @@ struct LiveRoomViewV2: View {
|
||||
isShowPhotoPicker: $viewModel.isShowPhotoPicker,
|
||||
viewModel: viewModel,
|
||||
isAdult: liveRoomInfo.isAdult,
|
||||
isEntryMessageEnabled: viewModel.isEntryMessageEnabled,
|
||||
isLoading: viewModel.isLoading,
|
||||
currentTitle: liveRoomInfo.title,
|
||||
currentNotice: liveRoomInfo.notice,
|
||||
coverImageUrl: liveRoomInfo.coverImageUrl,
|
||||
coverImage: viewModel.coverImage
|
||||
) { newTitle, newNotice, isAdult in
|
||||
) { newTitle, newNotice, isAdult, isEntryMessageEnabled in
|
||||
self.viewModel.editLiveRoomInfo(
|
||||
title: newTitle,
|
||||
notice: newNotice,
|
||||
isAdult: isAdult
|
||||
)
|
||||
self.viewModel.isEntryMessageEnabled = isEntryMessageEnabled
|
||||
}
|
||||
} else {
|
||||
EmptyView()
|
||||
|
Reference in New Issue
Block a user