This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Unified Auth/View Related/Site Address Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class LoginPrologueViewController: LoginViewController {
7373 super. viewWillAppear ( animated)
7474
7575 configureButtonVC ( )
76- navigationController? . setNavigationBarHidden ( true , animated: false )
76+ navigationController? . setNavigationBarHidden ( true , animated: animated )
7777 }
7878
7979 override func viewDidAppear( _ animated: Bool ) {
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ final class SiteAddressViewController: LoginViewController {
6868
6969 siteURLField? . text = loginFields. siteAddress
7070 configureSubmitButton ( )
71+
72+ // Nav bar could be hidden from the host app, so reshow it.
73+ navigationController? . setNavigationBarHidden ( false , animated: animated)
7174 }
7275
7376 override func viewDidAppear( _ animated: Bool ) {
@@ -254,9 +257,6 @@ private extension SiteAddressViewController {
254257 func configureNavBar( ) {
255258 navigationItem. title = WordPressAuthenticator . shared. displayStrings. logInTitle
256259 styleNavigationBar ( forUnified: true )
257-
258- // Nav bar could be hidden from the host app, so reshow it.
259- navigationController? . setNavigationBarHidden ( false , animated: false )
260260 }
261261
262262 func setupTable( ) {
You can’t perform that action at this time.
0 commit comments