fix(creator): 본인 채널 DM 확인을 추가한다
This commit is contained in:
@@ -236,6 +236,7 @@ struct CreatorChannelView: View {
|
||||
if let creator = viewModel.response?.creator {
|
||||
CreatorChannelHeaderSection(
|
||||
creator: creator,
|
||||
isOwnCreatorChannel: isOwnCreatorChannel,
|
||||
onTapTalk: handleTalkTap,
|
||||
onTapDm: handleDmTap
|
||||
)
|
||||
@@ -557,6 +558,12 @@ struct CreatorChannelView: View {
|
||||
return
|
||||
}
|
||||
|
||||
if isOwnCreatorChannel {
|
||||
AppState.shared.setPendingMainChatFilter(.dm)
|
||||
AppState.shared.setAppStep(step: .main)
|
||||
return
|
||||
}
|
||||
|
||||
AppState.shared.setAppStep(step: .userCreatorChatCreator(creatorId: creatorId))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user