We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8cacbf commit 5e769d2Copy full SHA for 5e769d2
src/ios/CDVKeyboard.m
@@ -165,6 +165,8 @@ - (NSString*)keyboardStyle
165
166
- (void)setKeyboardStyle:(NSString*)style
167
{
168
+ style = [style lowercaseString];
169
+
170
if ([style isEqualToString:_keyboardStyle]) {
171
return;
172
}
@@ -285,9 +287,7 @@ - (void)hideFormAccessoryBar:(CDVInvokedUrlCommand*)command
285
287
- (void)keyboardStyle:(CDVInvokedUrlCommand*)command
286
288
289
id value = [command.arguments objectAtIndex:0];
- if ([value isKindOfClass:[NSString class]]) {
- value = [(NSString*)value lowercaseString];
290
- } else {
+ if (![value isKindOfClass:[NSString class]]) {
291
value = @"light";
292
293
0 commit comments