라이브 후원
- 비밀 후원 기능 추가
This commit is contained in:
@@ -203,10 +203,12 @@ struct LiveRoomViewV2: View {
|
||||
)
|
||||
}
|
||||
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_donation",
|
||||
onClick: { viewModel.isShowDonationPopup = true }
|
||||
)
|
||||
if liveRoomInfo.creatorId != UserDefaults.int(forKey: .userId) {
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_donation",
|
||||
onClick: { viewModel.isShowDonationPopup = true }
|
||||
)
|
||||
}
|
||||
|
||||
LiveRoomRightBottomButton(
|
||||
imageName: "ic_donation_message_list",
|
||||
@@ -390,8 +392,8 @@ struct LiveRoomViewV2: View {
|
||||
}
|
||||
|
||||
if viewModel.isShowDonationPopup {
|
||||
LiveRoomDonationDialogView(isShowing: $viewModel.isShowDonationPopup, isAudioContentDonation: false) { can, message in
|
||||
viewModel.donation(can: can, message: message)
|
||||
LiveRoomDonationDialogView(isShowing: $viewModel.isShowDonationPopup, isAudioContentDonation: false) { can, message, isSecret in
|
||||
viewModel.donation(can: can, message: message, isSecret: isSecret)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user