diff --git a/NOICommunity/Coordinator/Implementations/Custom/AppCoordinator.swift b/NOICommunity/Coordinator/Implementations/Custom/AppCoordinator.swift index 2958c37..e40b757 100644 --- a/NOICommunity/Coordinator/Implementations/Custom/AppCoordinator.swift +++ b/NOICommunity/Coordinator/Implementations/Custom/AppCoordinator.swift @@ -226,8 +226,6 @@ private extension AppCoordinator { self?.showNewsAskAQuestion(for: $0, from: pageVC) } - pageVC.navigationItem.title = nil - pageVC.navigationItem.largeTitleDisplayMode = .never pageVC.navigationItem.leftBarButtonItem = UIBarButtonItem( image: UIImage(systemName: "xmark.circle.fill"), primaryAction: UIAction { [weak pageVC] _ in @@ -320,8 +318,7 @@ private extension AppCoordinator { self?.signupEvent($0, from: pageVC) } - pageVC.navigationItem.title = nil - pageVC.navigationItem.largeTitleDisplayMode = .never + pageVC.navigationItem.leftBarButtonItem = UIBarButtonItem( image: UIImage(systemName: "xmark.circle.fill"), primaryAction: UIAction { [weak pageVC] _ in diff --git a/NOICommunity/EventsFeature/Coordinators/EventsCoordinator.swift b/NOICommunity/EventsFeature/Coordinators/EventsCoordinator.swift index 5a17835..94d43f9 100644 --- a/NOICommunity/EventsFeature/Coordinators/EventsCoordinator.swift +++ b/NOICommunity/EventsFeature/Coordinators/EventsCoordinator.swift @@ -120,9 +120,6 @@ private extension EventsCoordinator { pageVC.signupActionHandler = { [weak self] in self?.signupEvent($0) } - - pageVC.navigationItem.largeTitleDisplayMode = .never - return pageVC }() navigationController.pushViewController(pageVC, animated: true) diff --git a/NOICommunity/EventsFeature/View Controllers/EventPageViewController.swift b/NOICommunity/EventsFeature/View Controllers/EventPageViewController.swift index 5a60d14..21d45b6 100644 --- a/NOICommunity/EventsFeature/View Controllers/EventPageViewController.swift +++ b/NOICommunity/EventsFeature/View Controllers/EventPageViewController.swift @@ -85,6 +85,7 @@ final class EventPageViewController: BasePageViewController override func configureLayout() { super.configureLayout() + navigationItem.largeTitleDisplayMode = .never embedChild(containerViewController) }