feat(live-room): 라이브 캡쳐 녹화 허용 설정을 생성 시청 흐름에 반영한다

This commit is contained in:
Yu Sung
2026-03-30 21:49:34 +09:00
parent 3a4df173d2
commit 178e0849dc
8 changed files with 97 additions and 3 deletions

View File

@@ -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)