Skip to content

Commit

Permalink
Bumped version to 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dreampiggy committed Aug 14, 2020
1 parent db90880 commit 6301af9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SDWebImageSVGCoder.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'SDWebImageSVGCoder'
s.version = '1.5.1'
s.version = '1.5.2'
s.summary = 'A SVG coder plugin for SDWebImage, using Apple built-in framework'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion SDWebImageSVGCoder/Classes/SDImageSVGCoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ + (BOOL)isSVGFormatForData:(NSData *)data {
if (!data) {
return NO;
}

// Check end with SVG tag
return [data rangeOfData:[kSVGTagEnd dataUsingEncoding:NSUTF8StringEncoding] options:NSDataSearchBackwards range: NSMakeRange(data.length - MIN(100, data.length), MIN(100, data.length))].location != NSNotFound;
}

Expand Down
4 changes: 2 additions & 2 deletions SDWebImageSVGCoder/Module/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.1</string>
<string>1.5.2</string>
<key>CFBundleVersion</key>
<string>1.5.1</string>
<string>1.5.2</string>
</dict>
</plist>

0 comments on commit 6301af9

Please sign in to comment.