Skip to content

Commit

Permalink
Remove useless else if
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvis Lee authored and boris committed Jul 13, 2021
1 parent 53d2440 commit 6fd9656
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,6 @@ - (void)onMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
id polyline = call.arguments;
[_polylinesController addPolylines:@[polyline]];

result(nil);
} else if ([call.method isEqualToString:@"map#initPolyline"]) {
id polyline = call.arguments;
[_polylinesController addPolylines:@[polyline]];

result(nil);
} else if ([call.method isEqualToString:@"map#appendPolylinePoints"]) {
NSString *polylineId = call.arguments[@"polylineId"];
Expand Down

0 comments on commit 6fd9656

Please sign in to comment.