feat(notification): 알림함 진입 및 딥링크 라우팅을 추가한다
This commit is contained in:
@@ -110,6 +110,14 @@ struct SplashView: View {
|
||||
private func nextAppStep() {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
|
||||
withAnimation {
|
||||
if let pendingDeepLinkAction = AppState.shared.consumePendingDeepLinkAction() {
|
||||
AppState.shared.setAppStep(step: .main)
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
|
||||
AppDeepLinkHandler.apply(action: pendingDeepLinkAction)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
if !UserDefaults.string(forKey: UserDefaultsKey.token).trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
||||
if AppState.shared.pushRoomId > 0 {
|
||||
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
||||
|
||||
Reference in New Issue
Block a user