Skip to content

Commit

Permalink
Set proper method to show keyboard. (trustwallet#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegGordiichuk authored and vikmeup committed Apr 28, 2018
1 parent d62f072 commit d33b469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Trust/Lock/ViewControllers/LockPasscodeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class LockPasscodeViewController: UIViewController {
self.configureInvisiblePasscodeField()
self.configureLockView()
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
if !invisiblePasscodeField.isFirstResponder && !lock.incorrectMaxAttemptTimeIsSet() {
invisiblePasscodeField.becomeFirstResponder()
}
Expand Down

0 comments on commit d33b469

Please sign in to comment.