diff --git a/keyboard/ios/Plugin/Keyboard.m b/keyboard/ios/Plugin/Keyboard.m index 39cbbf9f7..43f73f8de 100644 --- a/keyboard/ios/Plugin/Keyboard.m +++ b/keyboard/ios/Plugin/Keyboard.m @@ -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:@""];