feat(notification): 알림함 진입 및 딥링크 라우팅을 추가한다
This commit is contained in:
@@ -49,6 +49,7 @@ class AppState: ObservableObject {
|
||||
@Published var pushMessageId = 0
|
||||
@Published var pushAudioContentId = 0
|
||||
@Published var pushSeriesId = 0
|
||||
@Published var pendingDeepLinkAction: AppDeepLinkAction? = nil
|
||||
@Published var roomId = 0 {
|
||||
didSet {
|
||||
if roomId <= 0 {
|
||||
@@ -141,6 +142,12 @@ class AppState: ObservableObject {
|
||||
self.syncStepWithNavigationPath()
|
||||
}
|
||||
}
|
||||
|
||||
func consumePendingDeepLinkAction() -> AppDeepLinkAction? {
|
||||
let action = pendingDeepLinkAction
|
||||
pendingDeepLinkAction = nil
|
||||
return action
|
||||
}
|
||||
|
||||
// 언어 적용 직후 앱을 소프트 재시작(스플래시 -> 메인)하여 전역 UI를 새로고침
|
||||
func softRestart() {
|
||||
|
||||
Reference in New Issue
Block a user