File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,8 @@ - (void)layoutAccessoryButtonsForWidth:(CGFloat)width
322
322
- (void )accessoryButtonTapped : (id )sender
323
323
{
324
324
if (sender == self.cancelButton ) {
325
- if (self.passcodeView .passcode .length > 0 ) {
325
+ // When entering keyboard input, just leave the button as 'cancel'
326
+ if (self.passcodeType != TOPasscodeTypeCustomAlphanumeric && self.passcodeView .passcode .length > 0 ) {
326
327
[self .passcodeView deleteLastPasscodeCharacterAnimated: YES ];
327
328
[self keypadButtonTapped ];
328
329
return ;
Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ - (void)setPasscode:(NSString *)passcode animated:(BOOL)animated
193
193
if (passcodeIsComplete && self.passcodeCompletedHandler ) {
194
194
self.passcodeCompletedHandler (_passcode);
195
195
}
196
+
197
+ [self reloadInputViews ];
196
198
}
197
199
198
200
- (void )appendPasscodeCharacters : (NSString *)characters animated : (BOOL )animated
You can’t perform that action at this time.
0 commit comments