Skip to content

Commit 73eeb5d

Browse files
committed
chore(ios): yarn lint:ios:fix
1 parent c9c35b2 commit 73eeb5d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

packages/dynamic-links/ios/RNFBDynamicLinks/RNFBDynamicLinksAppDelegateInterceptor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (BOOL)application:(UIApplication *)application
111111
? @{}
112112
: dynamicLink.utmParametersDictionary,
113113
}];
114-
}
114+
};
115115

116116
// Per Apple Tech Support, a network failure could occur when returning from background on
117117
// iOS 12. https://github.com/AFNetworking/AFNetworking/issues/4279#issuecomment-447108981 So

packages/messaging/ios/RNFBMessaging/RNFBMessaging+NSNotificationCenter.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ - (void)application_onDidEnterForeground {
157157
RCTRootView *rctRootView =
158158
(RCTRootView *)[UIApplication sharedApplication].delegate.window.rootViewController.view;
159159

160-
if (rctRootView.appProperties != nil && [rctRootView.appProperties[@"isHeadless"] isEqual: @(YES)]) {
160+
if (rctRootView.appProperties != nil &&
161+
[rctRootView.appProperties[@"isHeadless"] isEqual:@(YES)]) {
161162
NSMutableDictionary *appPropertiesDict = [rctRootView.appProperties mutableCopy];
162163
isHeadless = NO;
163164
if ([appPropertiesDict objectForKey:@"isHeadless"] != nil &&

packages/messaging/ios/RNFBMessaging/RNFBMessagingModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020

2121
@interface RNFBMessagingModule : NSObject <RCTBridgeModule>
2222
+ (NSDictionary *_Nonnull)addCustomPropsToUserProps:(NSDictionary *_Nullable)userProps
23-
withLaunchOptions:(NSDictionary *_Nullable)launchOptions;
23+
withLaunchOptions:(NSDictionary *_Nullable)launchOptions;
2424
@end

packages/storage/ios/RNFBStorage/RNFBStorageCommon.m

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,11 @@ + (NSMutableDictionary *)getDownloadTaskAsDictionary:(FIRStorageTaskSnapshot *)t
370370
@"totalBytes" : @(task.progress.totalUnitCount)
371371
} mutableCopy];
372372
} else {
373-
return [@{@"bytesTransferred" : @(0), @"state" : [self getTaskStatus:FIRStorageTaskStatusUnknown], @"totalBytes" : @(0)}
374-
mutableCopy];
373+
return [@{
374+
@"bytesTransferred" : @(0),
375+
@"state" : [self getTaskStatus:FIRStorageTaskStatusUnknown],
376+
@"totalBytes" : @(0)
377+
} mutableCopy];
375378
}
376379
}
377380

0 commit comments

Comments
 (0)