Skip to content

Commit

Permalink
Merge pull request #109 from ch3rn1k/master
Browse files Browse the repository at this point in the history
Исправлена ошибка сборки на iOS
  • Loading branch information
ownikss authored May 19, 2022
2 parents bdce4a3 + ceea9f5 commit d42c55f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ios/View/RNYMView.m
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ - (void)removeReactSubview:(UIView<RCTComponent>*)subview {
[objects removeWithMapObject:[marker getMapObject]];
} else if ([subview isKindOfClass:[YamapCircleView class]]) {
YMKMapObjectCollection *objects = self.mapWindow.map.mapObjects;
YamapCircleView* marker = (YamapCircleView*) subview;
[objects removeWithMapObject:[marker getMapObject]];
YamapCircleView* circle = (YamapCircleView*) subview;
[objects removeWithMapObject:[circle getMapObject]];
} else {
NSArray<id<RCTComponent>> *childSubviews = [subview reactSubviews];
for (int i = 0; i < childSubviews.count; i++) {
Expand Down
2 changes: 1 addition & 1 deletion ios/View/YamapMarkerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ - (instancetype)init {
}

- (void)updateMarker {
if (mapObject != nil && mapObject.isValid()) {
if (mapObject != nil && mapObject.valid) {
[mapObject setGeometry:_point];
[mapObject setZIndex:[zIndex floatValue]];
YMKIconStyle* iconStyle = [[YMKIconStyle alloc] init];
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-yamap",
"version": "4.0.6",
"version": "4.0.7",
"description": "Yandex.MapKit and Yandex.Geocoder for react-native",
"main": "build/index.js",
"scripts": {
Expand Down

0 comments on commit d42c55f

Please sign in to comment.