Skip to content

Commit e7bd9ef

Browse files
Remove result call on non-void return type values
Fixes failing tests on iOS To be investigated later
1 parent 1ffb21e commit e7bd9ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ios/Classes/InstabugFlutterPlugin.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
4343
[inv getReturnValue:&returnVal];
4444
NSObject *resultSet = (__bridge NSObject *)returnVal;
4545
result(resultSet);
46-
} else {
47-
result(nil);
4846
}
4947
}
5048
if (!isImplemented) {

0 commit comments

Comments
 (0)