Skip to content

Commit

Permalink
Fix issue with PIN verification.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Apr 30, 2020
1 parent 9d35fb3 commit 6c01807
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ public void onClick(@NonNull View widget) {
reminder.setMovementMethod(LinkMovementMethod.getInstance());

PinVerifier.Callback callback = getPinWatcherCallback(context, dialog, pinEditText, pinStatus, mainCallback);
PinVerifier verifier = SignalStore.kbsValues().isV2RegistrationLockEnabled()
? new V2PinVerifier()
: new V1PinVerifier(context);
PinVerifier verifier = SignalStore.kbsValues().hasPin() ? new V2PinVerifier()
: new V1PinVerifier(context);

skip.setOnClickListener(v -> {
dialog.dismiss();
Expand Down

0 comments on commit 6c01807

Please sign in to comment.