summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-02-26 13:40:04 +0100
committerAndrej Mihajlov <and@mullvad.net>2020-02-26 17:19:33 +0100
commit31beff31b8e5485048f70ce3bb6cb20836946acb (patch)
tree8499de6a2f4f62a8a7d50455615de2279eb45821
parent8e94ea467cb877d42cda6be4d038c27a1b98f24a (diff)
downloadmullvadvpn-31beff31b8e5485048f70ce3bb6cb20836946acb.tar.xz
mullvadvpn-31beff31b8e5485048f70ce3bb6cb20836946acb.zip
Automatically pull keyboard in Login controller
-rw-r--r--ios/MullvadVPN/LoginViewController.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/MullvadVPN/LoginViewController.swift b/ios/MullvadVPN/LoginViewController.swift
index e55a9d4d57..4383732191 100644
--- a/ios/MullvadVPN/LoginViewController.swift
+++ b/ios/MullvadVPN/LoginViewController.swift
@@ -89,6 +89,12 @@ class LoginViewController: UIViewController, UITextFieldDelegate, RootContainmen
object: accountTextField)
}
+ override func viewDidAppear(_ animated: Bool) {
+ super.viewDidAppear(animated)
+
+ accountTextField.becomeFirstResponder()
+ }
+
// MARK: - Keyboard notifications
@objc private func keyboardWillShow(_ notification: Notification) {