File tree Expand file tree Collapse file tree
TOPasscodeViewController/Views/Main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ - (void)setUpViewForType:(TOPasscodeType)type
251251 }
252252 else {
253253 self.inputField .showSubmitButton = (self.passcodeType == TOPasscodeTypeCustomNumeric);
254+ self.inputField .enabled = (self.passcodeType == TOPasscodeTypeCustomAlphanumeric);
254255 }
255256
256257 [self addSubview: self .inputField];
@@ -334,6 +335,9 @@ - (void)applyThemeForStyle:(TOPasscodeViewStyle)style
334335 self.keypadView .vibrancyEffect = nil ;
335336 }
336337
338+ // Set keyboard style of the input field
339+ self.inputField .keyboardAppearance = isDark ? UIKeyboardAppearanceDark : UIKeyboardAppearanceDefault;
340+
337341 UIColor *defaultTintColor = isDark ? [UIColor colorWithWhite: 0.85 alpha: 1 .0f ] : [UIColor colorWithWhite: 0.3 alpha: 1 .0f ];
338342
339343 // Set the tint color of the circle row view
You can’t perform that action at this time.
0 commit comments