룰렛 설정 다이얼로그 뷰 추가

This commit is contained in:
Yu Sung
2023-12-06 16:43:41 +09:00
parent 9622e9b55d
commit ff7144f708
15 changed files with 536 additions and 0 deletions

View File

@@ -316,6 +316,9 @@ struct LiveRoomView: View {
.background(Color(hex: "525252").opacity(0.6))
.cornerRadius(10)
.padding(.bottom, 13.3)
.onTapGesture {
viewModel.isShowRouletteSettings = true
}
} else if liveRoomInfo.creatorId != UserDefaults.int(forKey: .userId) && viewModel.isActiveRoulette {
Image("ic_roulette")
.resizable()
@@ -682,6 +685,10 @@ struct LiveRoomView: View {
}
}
if viewModel.isShowRouletteSettings {
RouletteSettingsView(isShowing: $viewModel.isShowRouletteSettings)
}
if viewModel.isLoading && viewModel.liveRoomInfo == nil {
LoadingView()
}