Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix SDWebImageOptions error #13

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

pepsikirk
Copy link
Contributor

fix SDWebImageOptions error

@dreampiggy
Copy link
Collaborator

dreampiggy commented Apr 11, 2023

Seems this repo is not compatible with SDWebImgae from 5.15.0+ (because that queryCache API added new argument)


image

@dreampiggy dreampiggy merged commit 97d3b55 into SDWebImage:master Apr 11, 2023
if (options & SDWebImagePreloadAllFrames) cacheOptions |= SDImageCachePreloadAllFrames;
if (options & SDWebImageMatchAnimatedImageClass) cacheOptions |= SDImageCacheMatchAnimatedImageClass;

return [self queryImageForKey:key cacheOptions:cacheOptions context:context cacheType:SDImageCacheTypeAll completion:doneBlock];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is typo. Should be queryCacheType

@dreampiggy
Copy link
Collaborator

dreampiggy commented Apr 11, 2023

Fixed in 9c42cce
Released 0.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants