Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit a2c4977

Browse files
committed
Convert tabs to spaces
1 parent e994874 commit a2c4977

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/ios/CDVWKWebViewEngine.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ - (void)pluginInitialize
120120
}
121121

122122
if (![settings cordovaBoolSettingForKey:@"KeyboardDisplayRequiresUserAction" defaultValue:YES]) {
123-
[self keyboardDisplayDoesNotRequireUserAction];
123+
[self keyboardDisplayDoesNotRequireUserAction];
124124
}
125125

126126
[self updateSettings:settings];
@@ -139,14 +139,14 @@ - (void)pluginInitialize
139139

140140
// https://github.com/Telerik-Verified-Plugins/WKWebView/commit/04e8296adeb61f289f9c698045c19b62d080c7e3
141141
- (void) keyboardDisplayDoesNotRequireUserAction {
142-
SEL sel = sel_getUid("_startAssistingNode:userIsInteracting:blurPreviousNode:userObject:");
143-
Class WKContentView = NSClassFromString(@"WKContentView");
144-
Method method = class_getInstanceMethod(WKContentView, sel);
145-
IMP originalImp = method_getImplementation(method);
146-
IMP imp = imp_implementationWithBlock(^void(id me, void* arg0, BOOL arg1, BOOL arg2, id arg3) {
147-
((void (*)(id, SEL, void*, BOOL, BOOL, id))originalImp)(me, sel, arg0, TRUE, arg2, arg3);
148-
});
149-
method_setImplementation(method, imp);
142+
SEL sel = sel_getUid("_startAssistingNode:userIsInteracting:blurPreviousNode:userObject:");
143+
Class WKContentView = NSClassFromString(@"WKContentView");
144+
Method method = class_getInstanceMethod(WKContentView, sel);
145+
IMP originalImp = method_getImplementation(method);
146+
IMP imp = imp_implementationWithBlock(^void(id me, void* arg0, BOOL arg1, BOOL arg2, id arg3) {
147+
((void (*)(id, SEL, void*, BOOL, BOOL, id))originalImp)(me, sel, arg0, TRUE, arg2, arg3);
148+
});
149+
method_setImplementation(method, imp);
150150
}
151151

152152
- (void)onReset {

0 commit comments

Comments
 (0)