Skip to content

Commit

Permalink
Fix PINRemoteImageManagerPriority deprecation (#3258)
Browse files Browse the repository at this point in the history
  • Loading branch information
maicki authored and garrettmoon committed Apr 11, 2017
1 parent 8c3775f commit ae1e299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Details/ASPINRemoteImageDownloader.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ - (void)setPriority:(ASImageDownloaderPriority)priority withDownloadIdentifier:(
{
ASDisplayNodeAssert([downloadIdentifier isKindOfClass:[NSUUID class]], @"downloadIdentifier must be NSUUID");

PINRemoteImageManagerPriority pi_priority = PINRemoteImageManagerPriorityMedium;
PINRemoteImageManagerPriority pi_priority = PINRemoteImageManagerPriorityDefault;
switch (priority) {
case ASImageDownloaderPriorityPreload:
pi_priority = PINRemoteImageManagerPriorityLow;
Expand Down

0 comments on commit ae1e299

Please sign in to comment.