fix(creator): 본인 채널 DM 확인을 추가한다
This commit is contained in:
@@ -123,6 +123,7 @@ struct MainView: View {
|
||||
.valueChanged(value: appState.pushMessageId) { handlePushMessageId($0) }
|
||||
.valueChanged(value: appState.pushAudioContentId) { handlePushAudioContentId($0) }
|
||||
.valueChanged(value: appState.pushSeriesId) { handlePushSeriesId($0) }
|
||||
.valueChanged(value: appState.pendingMainChatFilter) { handlePendingMainChatFilter($0) }
|
||||
.valueChanged(value: appState.isShowPlayer) { isShowPlayer in
|
||||
guard !isShowPlayer,
|
||||
let pendingExternalNavigationAction = pendingExternalNavigationAction else {
|
||||
@@ -408,6 +409,11 @@ struct MainView: View {
|
||||
}
|
||||
}
|
||||
|
||||
private func handlePendingMainChatFilter(_ filter: MainChatFilter?) {
|
||||
guard filter != nil else { return }
|
||||
viewModel.currentTab = .chat
|
||||
}
|
||||
|
||||
private func handlePushAudioContentId(_ value: Int) {
|
||||
guard value > 0 else { return }
|
||||
let contentId = value
|
||||
|
||||
Reference in New Issue
Block a user