Skip to content

Commit

Permalink
Update keyboard to numeric to input SMS code auth0#2
Browse files Browse the repository at this point in the history
Update keyboard to numeric to input SMS code
Related to auth0#402
but using proper value UIKeyboardTypeNumberPad instead of UIKeyboardTypePhonePad
and changing the proper file :)
  • Loading branch information
bourgois authored Feb 28, 2017
1 parent 5d79080 commit 89da21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lock/UI/Private/A0CredentialFieldView.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ - (void)setType:(A0CredentialFieldViewType)type {
case A0CredentialFieldViewOTPCode:
self.placeholderText = A0LocalizedString(@"Verification Code");
self.textField.secureTextEntry = YES;
self.textField.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
self.textField.keyboardType = UIKeyboardTypeNumberPad;
self.iconImageView.image = [[theme imageForKey:A0ThemeIconLock] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
}
self.textField.autocorrectionType = UITextAutocorrectionTypeNo;
Expand Down

0 comments on commit 89da21d

Please sign in to comment.