Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit d75a864

Browse files
chris-rutkowskichris-agoda
authored andcommitted
fixes format issues
1 parent a324ff7 commit d75a864

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/image_picker/image_picker/ios/Classes/FLTImagePickerPlugin.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@interface FLTImagePickerPlugin : NSObject <FlutterPlugin>
88

99
// For testing only.
10-
- (instancetype)initWithViewController:(UIViewController *)viewController;
1110
- (UIImagePickerController *)getImagePickerController;
1211

1312
@end

packages/image_picker/image_picker/ios/Classes/FLTImagePickerPlugin.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ - (void)errorNoPhotoAccess:(PHAuthorizationStatus)status {
239239
- (void)showPhotoLibrary {
240240
// No need to check if SourceType is available. It always is.
241241
_imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
242-
[[self viewController] presentViewController:_imagePickerController
243-
animated:YES
244-
completion:nil];
242+
[[self viewController] presentViewController:_imagePickerController animated:YES completion:nil];
245243
}
246244

247245
- (void)imagePickerController:(UIImagePickerController *)picker

0 commit comments

Comments
 (0)