mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Ran Convert > To Modern Objective C Syntax
This commit is contained in:
@@ -152,7 +152,7 @@ RCT_EXPORT_MODULE()
|
||||
{
|
||||
NSDictionary *message = @{
|
||||
@"method": @"executeApplicationScript",
|
||||
@"url": RCTNullIfNil([URL absoluteString]),
|
||||
@"url": RCTNullIfNil(URL.absoluteString),
|
||||
@"inject": _injectedObjects,
|
||||
};
|
||||
[self sendMessage:message waitForReply:^(NSError *error, NSDictionary *reply) {
|
||||
|
||||
Reference in New Issue
Block a user