Skip to content

Commit

Permalink
fix(keyboard): remove deprecated warnings (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Dec 3, 2020
1 parent 5dcfb25 commit a6e207c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions keyboard/ios/Plugin/Keyboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ @implementation KeyboardPlugin

- (void)load
{
if ([self.bridge.config getValue:@"ios.scrollEnabled"] != nil) {
self.disableScroll = ![[self.bridge.config getValue:@"ios.scrollEnabled"] boolValue];
}
self.disableScroll = !self.bridge.config.enableScrolling;

UIClassString = [@[@"UI", @"Web", @"Browser", @"View"] componentsJoinedByString:@""];
WKClassString = [@[@"WK", @"Content", @"View"] componentsJoinedByString:@""];
UITraitsClassString = [@[@"UI", @"Text", @"Input", @"Traits"] componentsJoinedByString:@""];
Expand Down

0 comments on commit a6e207c

Please sign in to comment.