Fix typo fixed in instabug 7.0

This commit is contained in:
Yousef Hamza 2017-02-06 16:08:40 +02:00
parent 44053a5fe6
commit d600b559b3
1 changed files with 2 additions and 2 deletions

View File

@ -78,14 +78,14 @@ RCT_EXPORT_METHOD(setPreInvocationHandler:(RCTResponseSenderBlock)callBack) {
RCT_EXPORT_METHOD(setPostInvocationHandler:(RCTResponseSenderBlock)callBack) {
if (callBack != nil) {
[Instabug setPostInvocatioHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
[Instabug setPostInvocationHandler:^(IBGDismissType dismissType, IBGReportType reportType) {
[self sendEventWithName:@"IBGpostInvocationHandler" body:@{
@"dismissType": @(dismissType),
@"reportType": @(reportType)
}];
}];
} else {
[Instabug setPostInvocatioHandler:nil];
[Instabug setPostInvocationHandler:nil];
}
}