Merge pull request #205 from triposo/send-downloader-with-notification
Send downloader as part of notification.
This commit is contained in:
commit
55fd4a1d77
|
@ -89,7 +89,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
|||
|
||||
if (connection)
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
|
|||
{
|
||||
[connection cancel];
|
||||
self.connection = nil;
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue