fix(notification): 푸시 딥링크 우선 실행 분기를 보정한다
This commit is contained in:
@@ -319,17 +319,22 @@ struct HomeView: View {
|
||||
}
|
||||
|
||||
let roomId = value
|
||||
let isPushRoomFromDeepLink = appState.isPushRoomFromDeepLink
|
||||
appState.pushRoomId = 0
|
||||
appState.isPushRoomFromDeepLink = false
|
||||
|
||||
DispatchQueue.main.async {
|
||||
handleExternalNavigationRequest(
|
||||
value: roomId,
|
||||
navigationAction: {
|
||||
appState.setAppStep(step: .main)
|
||||
if !isPushRoomFromDeepLink {
|
||||
appState.setAppStep(step: .main)
|
||||
}
|
||||
liveViewModel.enterLiveRoom(roomId: roomId)
|
||||
},
|
||||
cancelAction: {
|
||||
appState.pushRoomId = 0
|
||||
appState.isPushRoomFromDeepLink = false
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user