This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/share/ios/Classes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88
99@implementation FLTSharePlugin
1010
11- + (void )registerWithRegistrar : (NSObject <FlutterPluginRegistrar> *)registrar {
11+ (void )registerWithRegistrar:(NSObject <FlutterPluginRegistrar> *)registrar {
1212 FlutterMethodChannel *shareChannel =
1313 [FlutterMethodChannel methodChannelWithName: PLATFORM_CHANNEL
1414 binaryMessenger: registrar.messenger];
@@ -53,7 +53,7 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
5353 return ;
5454 }
5555
56- [self shareFile: path
56+ [self shareFile: path
5757 withMimeType: mimeType
5858 withSubject: subject
5959 withText: text
@@ -66,7 +66,7 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
6666 }];
6767}
6868
69- + (void )share : (NSArray *)shareItems
69+ (void )share:(NSArray *)shareItems
7070 withController:(UIViewController *)controller
7171 atSource:(CGRect)origin {
7272 UIActivityViewController *activityViewController =
@@ -78,7 +78,7 @@ + (void)share:(NSArray *)shareItems
7878 [controller presentViewController: activityViewController animated: YES completion: nil ];
7979}
8080
81- + (void )shareFile : (id )path
81+ (void )shareFile:(id )path
8282 withMimeType:(id )mimeType
8383 withSubject:(NSString *)subject
8484 withText:(NSString *)text
You can’t perform that action at this time.
0 commit comments