Fix warnings

This commit is contained in:
Horcrux
2017-01-22 19:45:50 +08:00
parent 3765e52c67
commit 1db96aaa07
8 changed files with 29 additions and 36 deletions
-4
View File
@@ -27,10 +27,6 @@
[node mergeProperties:self];
[node renderTo:context];
if ([node isKindOfClass: [RNSVGRenderable class]]) {
RNSVGRenderable *renderable = node;
}
return YES;
}];
}
+1 -1
View File
@@ -31,7 +31,7 @@
[template mergeProperties:self];
if ([template class] == [RNSVGSymbol class]) {
RNSVGSymbol *symbol = template;
RNSVGSymbol *symbol = (RNSVGSymbol*)template;
[symbol renderSymbolTo:context width:[self relativeOnWidth:self.width] height:[self relativeOnWidth:self.height]];
} else {
[template renderTo:context];