Skip to content

Commit 8a515e5

Browse files
committed
fix present viewController
1 parent 2373060 commit 8a515e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios-app-bootstrap/controllers/LoginViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class LoginViewController: ViewController, UITextFieldDelegate {
7979
logger.info("login")
8080
Utils.setData("login", value: "login")
8181
let tabBar = TabBarController()
82-
navigationController?.present(tabBar, animated: true, completion: nil)
82+
self.present(tabBar, animated: true, completion: nil)
8383
}
8484

8585
func textFieldShouldReturn(_ textField:UITextField) -> Bool {

0 commit comments

Comments
 (0)