Skip to content

Commit

Permalink
fix(keyboard): Change keyboard style during setStyle (#1935)
Browse files Browse the repository at this point in the history
Co-authored-by: Joey Pender <[email protected]>
  • Loading branch information
jcesarmobile and theproducer authored Dec 4, 2023
1 parent e18f458 commit 3b520b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboard/ios/Plugin/Keyboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ - (void)onKeyboardWillHide:(NSNotification *)notification

- (void)onKeyboardWillShow:(NSNotification *)notification
{
[self changeKeyboardStyle:self.keyboardStyle];
if (hideTimer != nil) {
[hideTimer invalidate];
}
Expand Down Expand Up @@ -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];
}

Expand Down

0 comments on commit 3b520b8

Please sign in to comment.