Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Bogdan Poplauschi
2014-06-18 15:28:13 +0300
Commit
e4104942ee13e2ddc0a98fad79636d9061fc5e6e
1 parent
f6fdaeb6
Return nil from SDScaledImageForKey if the input image is nil. Replaces #750. Fixes #365
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
SDWebImage/SDWebImageCompat.m
SDWebImage/SDWebImageCompat.m
View file @
e410494
...
...
@@ -13,6 +13,10 @@
#endif
inline
UIImage
*
SDScaledImageForKey
(
NSString
*
key
,
UIImage
*
image
)
{
if
(
!
image
)
{
return
nil
;
}
if
([
image
.
images
count
]
>
0
)
{
NSMutableArray
*
scaledImages
=
[
NSMutableArray
array
];
...
...
Please
register
or
login
to post a comment