iOS: fix up nullability annotation for UIAppDelegate method signature

Reviewed By: TheSavior

Differential Revision: D8454576

fbshipit-source-id: 879b695b1b014a92453bf85f23cc1a0e64f015a3
This commit is contained in:
Kevin Gozali 2018-06-15 12:23:30 -07:00 committed by Facebook Github Bot
parent 3f29d2c440
commit 0a530f5d16
2 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,6 @@
+ (BOOL)application:(UIApplication *)application
continueUserActivity:(NSUserActivity *)userActivity
restorationHandler:(void (^)(NSArray *))restorationHandler;
restorationHandler:(void (^)(NSArray * __nullable))restorationHandler;
@end

View File

@ -67,7 +67,7 @@ RCT_EXPORT_MODULE()
+ (BOOL)application:(UIApplication *)application
continueUserActivity:(NSUserActivity *)userActivity
restorationHandler:(void (^)(NSArray *))restorationHandler
restorationHandler:(void (^)(NSArray * __nullable))restorationHandler
{
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
NSDictionary *payload = @{@"url": userActivity.webpageURL.absoluteString};