Skip to content

Commit b5136a7

Browse files
committed
Update changelog
1 parent e662555 commit b5136a7

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.0
2+
* Added `stoploading` method to AdblockerWebviewController
3+
* Disable automatic media playback
4+
15
## 2.0.0-beta
26
* Added support for easylist and adguard filters
37
* Added support for resource rules parsing

lib/src/adblocker_webview.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ class _AdBlockerWebviewState extends State<AdBlockerWebview> {
189189
),
190190
onUrlChange: (change) => widget.onUrlChanged?.call(change.url),
191191
);
192-
if (WebViewPlatform.instance is WebKitWebViewPlatform) {
193-
final WebKitNavigationDelegate webKitDelegate =
194-
navigationDelegate.platform as WebKitNavigationDelegate;
195-
} else if (WebViewPlatform.instance is AndroidWebViewPlatform) {
196-
final AndroidNavigationDelegate androidDelegate =
197-
navigationDelegate.platform as AndroidNavigationDelegate;
198-
}
199192
_webViewController.setNavigationDelegate(navigationDelegate);
200193
}
201194

lib/src/adblocker_webview_controller_impl.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import 'dart:collection';
22

33
import 'package:adblocker_webview/adblocker_webview.dart';
44
import 'package:webview_flutter/webview_flutter.dart';
5-
import 'package:webview_flutter_android/webview_flutter_android.dart';
6-
import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart';
75

86
///Implementation for [AdBlockerWebviewController]
97
class AdBlockerWebviewControllerImpl implements AdBlockerWebviewController {

0 commit comments

Comments
 (0)