iOS: fix up nullability annotation for UIAppDelegate method signature
Reviewed By: TheSavior Differential Revision: D8454576 fbshipit-source-id: 879b695b1b014a92453bf85f23cc1a0e64f015a3
This commit is contained in:
parent
3f29d2c440
commit
0a530f5d16
|
@ -22,6 +22,6 @@
|
||||||
|
|
||||||
+ (BOOL)application:(UIApplication *)application
|
+ (BOOL)application:(UIApplication *)application
|
||||||
continueUserActivity:(NSUserActivity *)userActivity
|
continueUserActivity:(NSUserActivity *)userActivity
|
||||||
restorationHandler:(void (^)(NSArray *))restorationHandler;
|
restorationHandler:(void (^)(NSArray * __nullable))restorationHandler;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -67,7 +67,7 @@ RCT_EXPORT_MODULE()
|
||||||
|
|
||||||
+ (BOOL)application:(UIApplication *)application
|
+ (BOOL)application:(UIApplication *)application
|
||||||
continueUserActivity:(NSUserActivity *)userActivity
|
continueUserActivity:(NSUserActivity *)userActivity
|
||||||
restorationHandler:(void (^)(NSArray *))restorationHandler
|
restorationHandler:(void (^)(NSArray * __nullable))restorationHandler
|
||||||
{
|
{
|
||||||
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
|
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
|
||||||
NSDictionary *payload = @{@"url": userActivity.webpageURL.absoluteString};
|
NSDictionary *payload = @{@"url": userActivity.webpageURL.absoluteString};
|
||||||
|
|
Loading…
Reference in New Issue