Skip to content

Commit

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

@override
ViewConfiguration createViewConfigurationFor(RenderView renderView) {
final view = renderView.flutterView;
ViewConfiguration createViewConfiguration() {
final view = platformDispatcher.implicitView!;

return TestViewConfiguration.fromView(
size: view.physicalSize / view.devicePixelRatio,
view: view,
Expand Down
1 change: 1 addition & 0 deletions packages/patrol/lib/src/native/native_automator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ 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 354f8f1

Please sign in to comment.