From aba818f861fac05bb564655aa5d7063eb5e9eaef Mon Sep 17 00:00:00 2001 From: tetkosimi <37016280+tetkosimi@users.noreply.github.com> Date: Wed, 5 Feb 2020 21:30:38 +0100 Subject: [PATCH] Check keyboard style onKeyboardWillShow --- src/ios/CDVIonicKeyboard.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ios/CDVIonicKeyboard.m b/src/ios/CDVIonicKeyboard.m index e4615a8..a327912 100644 --- a/src/ios/CDVIonicKeyboard.m +++ b/src/ios/CDVIonicKeyboard.m @@ -162,7 +162,9 @@ - (void)onKeyboardWillShow:(NSNotification *)note [self resetScrollView]; } - [self setKeyboardStyle:self.keyboardStyle]; + if (self.keyboardStyle) { + [self setKeyboardStyle:self.keyboardStyle]; + } NSString *js = [NSString stringWithFormat:@"Keyboard.fireOnShowing(%d);", (int)height]; [self.commandDelegate evalJs:js];