Skip to content

doubleSizeIfRetina should be called in all +WebCache methods that receive a size #6

Description

@gtg922r

"doubleSizeIfRetina" was added for some methods, but not for:

- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options andResize:(CGSize)size

and

- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options andResize:(CGSize)size

Since these methods are called by the shorter methods (without placeholder image), just move the doubleSizeIfRetina call to these methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions