feat(live-room): 라이브 캡쳐 녹화 허용 설정을 생성 시청 흐름에 반영한다
This commit is contained in:
@@ -182,7 +182,32 @@ struct LiveRoomCreateView: View {
|
||||
}
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
.padding(.top, 33.3)
|
||||
|
||||
|
||||
VStack(spacing: 13.3) {
|
||||
Text(I18n.CreateLive.captureRecordingSetting)
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
SelectedButtonView(
|
||||
title: I18n.CreateLive.captureRecordingAllowed,
|
||||
isActive: true,
|
||||
isSelected: viewModel.isCaptureRecordingAvailable
|
||||
)
|
||||
.onTapGesture { viewModel.isCaptureRecordingAvailable = true }
|
||||
|
||||
SelectedButtonView(
|
||||
title: I18n.CreateLive.captureRecordingNotAllowed,
|
||||
isActive: true,
|
||||
isSelected: !viewModel.isCaptureRecordingAvailable
|
||||
)
|
||||
.onTapGesture { viewModel.isCaptureRecordingAvailable = false }
|
||||
}
|
||||
}
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
.padding(.top, 33.3)
|
||||
|
||||
if shouldShowAdultSetting {
|
||||
AdultSettingView()
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
|
||||
Reference in New Issue
Block a user