Skip to content

Commit 2d6dbd8

Browse files
committed
format
1 parent 62a1b7d commit 2d6dbd8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromGalleryUITests.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ - (void)launchPickerAndPickWithMaxWidth:(NSNumber *)maxWidth
220220
os_log_error(OS_LOG_DEFAULT, "%@", self.app.debugDescription);
221221
XCTFail(@"Failed due to not able to find an image with %@ seconds", @(kElementWaitingTime));
222222
}
223-
if (aImage.isHittable) {
224-
[aImage tap];
225-
} else {
226-
// Known issue where tappable elements are not hittable. Tap it anyway.
227-
// See https://github.com/flutter/plugins/pull/6783 for a similar case.
228-
XCUICoordinate *coordinate = [aImage coordinateWithNormalizedOffset:CGVectorMake(0, 0)];
229-
[coordinate tap];
230-
}
223+
if (aImage.isHittable) {
224+
[aImage tap];
225+
} else {
226+
// Known issue where tappable elements are not hittable. Tap it anyway.
227+
// See https://github.com/flutter/plugins/pull/6783 for a similar case.
228+
XCUICoordinate *coordinate = [aImage coordinateWithNormalizedOffset:CGVectorMake(0, 0)];
229+
[coordinate tap];
230+
}
231231

232232
// Find the picked image.
233233
XCUIElement *pickedImage = self.app.images[@"image_picker_example_picked_image"].firstMatch;

0 commit comments

Comments
 (0)