mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-29 21:25:00 +00:00
Fix warnings
This commit is contained in:
@@ -27,10 +27,6 @@
|
||||
[node mergeProperties:self];
|
||||
[node renderTo:context];
|
||||
|
||||
if ([node isKindOfClass: [RNSVGRenderable class]]) {
|
||||
RNSVGRenderable *renderable = node;
|
||||
}
|
||||
|
||||
return YES;
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user