룰렛 뷰 추가

This commit is contained in:
Yu Sung
2023-12-07 08:43:18 +09:00
parent 0af16ac000
commit d52f0d1176
8 changed files with 329 additions and 11 deletions

View File

@@ -390,7 +390,6 @@ struct LiveRoomView: View {
}
}
.frame(width: screenSize().width)
.animation(nil)
}
HStack(spacing: 0) {
@@ -704,7 +703,9 @@ struct LiveRoomView: View {
}
if viewModel.isShowRoulette {
RouletteViewDialog(isShowing: $viewModel.isShowRoulette, options: viewModel.rouletteItems, selectedOption: viewModel.rouletteSelectedItem) {
viewModel.sendRouletteDonation()
}
}
if viewModel.isLoading && viewModel.liveRoomInfo == nil {
@@ -713,9 +714,6 @@ struct LiveRoomView: View {
}
.ignoresSafeArea(.keyboard)
.edgesIgnoringSafeArea(keyboardHandler.keyboardHeight > 0 ? .bottom : .init())
.transaction { transaction in
transaction.animation = nil
}
.sheet(
isPresented: $viewModel.isShowShareView,
onDismiss: { viewModel.shareMessage = "" },