feat(chat-room): 채팅 쿼터 구매 기능 추가
This commit is contained in:
@@ -132,7 +132,7 @@ struct ChatRoomView: View {
|
||||
|
||||
if viewModel.showQuotaNoticeView {
|
||||
ChatQuotaNoticeItemView(remainingTime: viewModel.countdownText) {
|
||||
|
||||
viewModel.purchaseChatQuota()
|
||||
}
|
||||
.id(viewModel.messages.count)
|
||||
.padding(.bottom, 12)
|
||||
@@ -230,6 +230,7 @@ struct ChatRoomView: View {
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
viewModel.getMemberInfo()
|
||||
viewModel.enterRoom(roomId: roomId)
|
||||
}
|
||||
.onDisappear {
|
||||
|
||||
Reference in New Issue
Block a user