푸시 터치 액션 수정
This commit is contained in:
@@ -199,19 +199,7 @@ struct HomeView: View {
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
if appState.pushRoomId > 0 {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.5) {
|
||||
liveViewModel.enterLiveRoom(roomId: appState.pushRoomId)
|
||||
}
|
||||
} else if appState.pushChannelId > 0 {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.5) {
|
||||
appState.setAppStep(step: .creatorDetail(userId: appState.pushChannelId))
|
||||
}
|
||||
} else if appState.pushAudioContentId > 0 {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.5) {
|
||||
appState.setAppStep(step: .contentDetail(contentId: appState.pushAudioContentId))
|
||||
}
|
||||
} else if appState.pushMessageId > 0 {
|
||||
if appState.pushMessageId > 0 {
|
||||
viewModel.currentTab = .message
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user