Skip to content

Commit

Permalink
fix #453
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidan Hakaj committed Sep 21, 2016
1 parent 3509026 commit 89308d8
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 89308d8

Please sign in to comment.