From 36037ca65a9d952da57a99af18d6bbd0367c8f7e Mon Sep 17 00:00:00 2001 From: Jovani Luna Date: Tue, 24 Sep 2024 13:06:05 -0700 Subject: [PATCH] Prevent the navigation bar from overlapping the follow friends view setting it up in the viewDidAppear instead of the viewWillAppear --- .../FindFriends/Controller/FindFriendsViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kickstarter-iOS/Features/FindFriends/Controller/FindFriendsViewController.swift b/Kickstarter-iOS/Features/FindFriends/Controller/FindFriendsViewController.swift index 5888ee5870..514ece18dd 100644 --- a/Kickstarter-iOS/Features/FindFriends/Controller/FindFriendsViewController.swift +++ b/Kickstarter-iOS/Features/FindFriends/Controller/FindFriendsViewController.swift @@ -33,9 +33,9 @@ internal final class FindFriendsViewController: UITableViewController { self.viewModel.inputs.viewDidLoad() } - override func viewWillAppear(_ animated: Bool) { - super.viewWillAppear(animated) - + override func viewDidAppear(_ animated: Bool) { + super.viewDidAppear(animated) + self.navigationController?.setNavigationBarHidden(false, animated: animated) }