lib/ProMotion/map/map_screen_module.rb in ProMotion-mapbox-0.1.2 vs lib/ProMotion/map/map_screen_module.rb in ProMotion-mapbox-0.1.3

- old
+ new

@@ -21,10 +21,10 @@ if self.class.respond_to?(:get_mapbox_setup) && self.class.get_mapbox_setup setup_params = self.class.get_mapbox_setup_params else PM.logger.error "Missing Mapbox setup data." end - RMConfiguration.sharedInstance.setAccessToken(setup_params[:access_token]) + RMConfiguration.sharedInstance.setAccessToken(setup_params[:access_token]) if RMConfiguration.sharedInstance.accessToken.nil? @tileSource = RMMapboxSource.alloc.initWithMapID(setup_params[:tile_source]) end def view_will_appear(animated) super