Skip to content

Commit 389e4fb

Browse files
committed
Fixed accessory layout on iPhone.
1 parent 31bf918 commit 389e4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TOPasscodeViewController/TOPasscodeViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ - (void)layoutAccessoryButtonsForWidth:(CGFloat)width
301301
}
302302

303303
CGFloat inset = self.passcodeView.keypadButtonInset;
304-
CGPoint point = (CGPoint){0.0f, self.view.bounds.size.height - verticalInset};
304+
CGPoint point = (CGPoint){0.0f, (self.view.bounds.size.height - self.keyboardHeight) - verticalInset};
305305

306306
UIButton *leftButton = self.leftAccessoryButton ? self.leftAccessoryButton : self.biometricButton;
307307
if (leftButton) {

0 commit comments

Comments
 (0)