mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Migrate unit tests from FBReactKitModules to FBReactKit
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
- (instancetype)initWithBridge:(RCTBridge *)bridge
|
||||
{
|
||||
RCTAssert(bridge, @"birdge parameter is required");
|
||||
RCTAssert(bridge, @"bridge parameter is required");
|
||||
|
||||
if ((self = [super init])) {
|
||||
_bridge = bridge;
|
||||
|
||||
@@ -79,7 +79,7 @@ RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, RCTMap)
|
||||
}
|
||||
}
|
||||
|
||||
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(RCTPointAnnotation *)annotation
|
||||
- (MKAnnotationView *)mapView:(__unused MKMapView *)mapView viewForAnnotation:(RCTPointAnnotation *)annotation
|
||||
{
|
||||
if ([annotation isKindOfClass:[MKUserLocation class]]) {
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user