Skip to content

Commit

Permalink
fix image pass-through
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Nov 16, 2015
1 parent 5166ef3 commit d18be25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/JAMSVGImage/SVG Image/UIImage+SVG.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ + (UIImage *)imageFromSVGNamed:(NSString *)svgName;

+ (UIImage *)imageFromSVGNamed:(NSString *)svgName inBundle:(NSBundle *)bundle
{
return [JAMSVGImage imageNamed:svgName inBundle:bundle];
return [JAMSVGImage imageNamed:svgName inBundle:bundle].image;
}

+ (UIImage *)imageFromSVGNamed:(NSString *)svgName atSize:(CGSize)size;
Expand Down

0 comments on commit d18be25

Please sign in to comment.