Skip to content

Commit

Permalink
ack - more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
aaustin committed Apr 27, 2016
1 parent 8cd61be commit 94989d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/BranchSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ - (void)registerView:(CDVInvokedUrlCommand*)command

BranchUniversalObject *branchUniversalObj = [self.branchUniversalObjArray objectAtIndex:branchUniversalObjectId];

CDVPluginResult* pluginResult = nil;
[branchUniversalObj registerViewWithCallback:^(NSDictionary *params, NSError *error) {
CDVPluginResult *pluginResult = nil;
if (!error) {
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:params];
} else {
Expand Down Expand Up @@ -523,7 +523,7 @@ - (void)postUnhandledURL:(NSNotification *)notification {
options:NSJSONWritingPrettyPrinted
error:&error];

NSString *resultString = [[NSString alloc] initWithData:returnJSON encoding:NSUTF8StringEncoding]
NSString *resultString = [[NSString alloc] initWithData:returnJSON encoding:NSUTF8StringEncoding];
[self.commandDelegate evalJs:[NSString stringWithFormat:@"NonBranchLinkHandler(%@)", resultString]];
}
}
Expand Down

0 comments on commit 94989d9

Please sign in to comment.