feat: 하단 탭 아이콘 변경
This commit is contained in:
@@ -285,16 +285,10 @@ extension AppDelegate : UNUserNotificationCenterDelegate {
|
||||
AppState.shared.pushMessageId = messageId
|
||||
}
|
||||
|
||||
if let auditionIdString = auditionIdString, let auditionId = Int(auditionIdString), auditionId > 0 {
|
||||
AppState.shared.startTab = .audition
|
||||
NotificationCenter.default.post(name: .didReceiveHomeTab, object: HomeViewModel.CurrentTab.audition)
|
||||
}
|
||||
|
||||
completionHandler()
|
||||
}
|
||||
}
|
||||
|
||||
extension Notification.Name {
|
||||
static let pointGranted = Notification.Name("POINT_GRANTED")
|
||||
static let didReceiveHomeTab = Notification.Name("didReceiveHomeTab")
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ class AppState: ObservableObject {
|
||||
@Published var purchasedContentOrderType = OrderType.KEEP
|
||||
|
||||
@Published var isChangeAdultContentVisible = false
|
||||
@Published var startTab: HomeViewModel.CurrentTab = .content
|
||||
@Published var startTab: HomeViewModel.CurrentTab = .home
|
||||
|
||||
@Published var marketingUtmSource = ""
|
||||
@Published var marketingUtmMedium = ""
|
||||
|
||||
Reference in New Issue
Block a user