|
|
@@ -546,10 +546,16 @@
|
|
|
#pragma mark 点击上传中的全部暂停
|
|
|
- (void)didClickAllSuspendInLoadingFun
|
|
|
{
|
|
|
+ //HLog(@"%@\n hhh %d",_downloadingHeadView,_downloadingHeadView.rightButton.selected);
|
|
|
+
|
|
|
+ _downloadingHeadView.rightButton.selected = !_downloadingHeadView.rightButton.selected;
|
|
|
+
|
|
|
if(_downloadingHeadView.rightButton.selected){
|
|
|
+ HLog(@"suspendAllDownloadTask");
|
|
|
[[SGDownloadManager shareManager] suspendAllDownloadTask];
|
|
|
}
|
|
|
else{
|
|
|
+ HLog(@"startAllDownloadTask");
|
|
|
[[SGDownloadManager shareManager] startAllDownloadTask];
|
|
|
}
|
|
|
}
|