From f5ef4dc53279573d76c683dc2ac783f8d261a15b Mon Sep 17 00:00:00 2001 From: Joey Pender Date: Thu, 30 Nov 2023 15:11:54 -0600 Subject: [PATCH] fix(keyboard): Change keyboard style during setStyle (#1920) --- keyboard/ios/Sources/KeyboardPlugin/Keyboard.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m b/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m index d90f94572..38cd2edc4 100644 --- a/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m +++ b/keyboard/ios/Sources/KeyboardPlugin/Keyboard.m @@ -121,7 +121,6 @@ - (void)onKeyboardWillHide:(NSNotification *)notification - (void)onKeyboardWillShow:(NSNotification *)notification { - [self changeKeyboardStyle:self.keyboardStyle]; if (hideTimer != nil) { [hideTimer invalidate]; } @@ -324,6 +323,7 @@ - (void)show:(CAPPluginCall *)call - (void)setStyle:(CAPPluginCall *)call { self.keyboardStyle = [call getString:@"style" defaultValue:@"LIGHT"]; + [self changeKeyboardStyle:self.keyboardStyle]; [call resolve]; }