File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
TOPasscodeViewController/Views/Main Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ - (void)setUpViewForType:(TOPasscodeType)type
251
251
}
252
252
else {
253
253
self.inputField .showSubmitButton = (self.passcodeType == TOPasscodeTypeCustomNumeric);
254
+ self.inputField .enabled = (self.passcodeType == TOPasscodeTypeCustomAlphanumeric);
254
255
}
255
256
256
257
[self addSubview: self .inputField];
@@ -334,6 +335,9 @@ - (void)applyThemeForStyle:(TOPasscodeViewStyle)style
334
335
self.keypadView .vibrancyEffect = nil ;
335
336
}
336
337
338
+ // Set keyboard style of the input field
339
+ self.inputField .keyboardAppearance = isDark ? UIKeyboardAppearanceDark : UIKeyboardAppearanceDefault;
340
+
337
341
UIColor *defaultTintColor = isDark ? [UIColor colorWithWhite: 0.85 alpha: 1 .0f ] : [UIColor colorWithWhite: 0.3 alpha: 1 .0f ];
338
342
339
343
// Set the tint color of the circle row view
You can’t perform that action at this time.
0 commit comments