Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidan Hakaj authored and kfiroo committed Oct 13, 2016
1 parent a4cfb88 commit ee3d289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ protected AirMapView createViewInstance(ThemedReactContext context) {
reactContext = context;

try {
MapsInitializer.initialize(new AirMapModule(this.appContext).getActivity());
MapsInitializer.initialize(this.appContext);
} catch (RuntimeException e) {
e.printStackTrace();
emitMapError("Map initialize error", "map_init_error");
}

return new AirMapView(context, this.appContext, this, this.googleMapOptions);
return new AirMapView(context, this.appContext.getCurrentActivity(), this, this.googleMapOptions);
}

@Override
Expand Down

This file was deleted.

0 comments on commit ee3d289

Please sign in to comment.