Add condition to validate if we should show pass lock.

pull/2/head
Oleg Gordiichuk 7 years ago committed by Michael Scoff
parent 464d0ee8c0
commit ac8a0b0eb6
  1. 2
      Trust/Lock/Coordinators/LockEnterPasscodeCoordinator.swift

@ -20,7 +20,7 @@ class LockEnterPasscodeCoordinator: Coordinator {
} }
} }
func start() { func start() {
guard !passcodeViewIsActive else { guard !passcodeViewIsActive && Lock().isPasscodeSet() else {
return return
} }
passcodeViewIsActive = true passcodeViewIsActive = true

Loading…
Cancel
Save