Skip to content

Commit

Permalink
Fix injectStyleFile name to injectCSSFileFromUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
omralcrt committed Jan 18, 2021
1 parent eaad17e commit 3ceff9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/in_app_webview_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ class InAppWebViewController {
Future<void> injectCSSFileFromUrl({@required String urlFile}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent('urlFile', () => urlFile);
await _channel.invokeMethod('injectStyleFile', args);
await _channel.invokeMethod('injectCSSFileFromUrl', args);
}

///Injects a CSS file into the WebView from the flutter assets directory.
Expand Down

0 comments on commit 3ceff9b

Please sign in to comment.