Skip to content

Commit

Permalink
Fix: Merge 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hye committed Dec 5, 2024
1 parent 3afbbf0 commit eceaee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class CustomTabViewModel: ObservableObject {
@Published var isLetterWrite: Bool = false
@Published var previousTab: Int?

static let resetProfileNavigationNotification = Notification.Name("resetProfileNavigation")
static let profileTabTappedNotification = Notification.Name("profileTabTappedNotification")

private var lastTabSelectionTime: Date?
private let doubleTapInterval: TimeInterval = 0.2
Expand Down
2 changes: 1 addition & 1 deletion Kabinett/Presentation/View/Profile/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct ProfileView: View {
SettingsView(viewModel: viewModel)
}
}
.onReceive(NotificationCenter.default.publisher(for: CustomTabViewModel.resetProfileNavigationNotification)) { _ in
.onReceive(NotificationCenter.default.publisher(for: CustomTabViewModel.profileTabTappedNotification)) { _ in
viewModel.showSettingsView = false
}
}
Expand Down

0 comments on commit eceaee1

Please sign in to comment.