feat(creator): 대화하기 채팅방 진입을 연결한다
This commit is contained in:
@@ -313,7 +313,7 @@ struct CreatorChannelView: View {
|
||||
|
||||
if isKoreanCountry && auth == false {
|
||||
pendingAction = {
|
||||
AppState.shared.setAppStep(step: .characterDetail(characterId: characterId))
|
||||
startChat(characterId: characterId)
|
||||
}
|
||||
isShowAuthConfirmView = true
|
||||
return
|
||||
@@ -325,7 +325,13 @@ struct CreatorChannelView: View {
|
||||
return
|
||||
}
|
||||
|
||||
AppState.shared.setAppStep(step: .characterDetail(characterId: characterId))
|
||||
startChat(characterId: characterId)
|
||||
}
|
||||
|
||||
private func startChat(characterId: Int) {
|
||||
viewModel.createChatRoom(characterId: characterId) { chatRoomId in
|
||||
AppState.shared.setAppStep(step: .chatRoom(id: chatRoomId))
|
||||
}
|
||||
}
|
||||
|
||||
private func moveToContentSettingsWithGuideToast() {
|
||||
|
||||
Reference in New Issue
Block a user