Skip to content

Commit

Permalink
Revert "Adjust PatrolBinding to its superclass API changes"
Browse files Browse the repository at this point in the history
This reverts commit 354f8f1.
  • Loading branch information
bartekpacia committed Nov 13, 2023
1 parent 8d359c1 commit bf44179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/patrol/lib/src/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ class PatrolBinding extends LiveTestWidgetsFlutterBinding {
}

@override
ViewConfiguration createViewConfiguration() {
final view = platformDispatcher.implicitView!;

ViewConfiguration createViewConfigurationFor(RenderView renderView) {
final view = renderView.flutterView;
return TestViewConfiguration.fromView(
size: view.physicalSize / view.devicePixelRatio,
view: view,
Expand Down
1 change: 0 additions & 1 deletion packages/patrol/lib/src/native/native_automator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class NativeAutomatorConfig {
this.logger = _defaultPrintLogger,
});

/// Apps installed on the simulator for purpose of native view inspection in DevTools extension
final String iosInstalledApps;

/// Host on which Patrol server instrumentation is running.
Expand Down

0 comments on commit bf44179

Please sign in to comment.