allDownloaded should look at leftUntilDone, not percentDone
This commit is contained in:
parent
d15d48e75e
commit
f8b1326101
|
@ -935,7 +935,7 @@ int trashDataFile(const char * filename)
|
||||||
|
|
||||||
- (BOOL) allDownloaded
|
- (BOOL) allDownloaded
|
||||||
{
|
{
|
||||||
return [self progressDone] >= 1.0;
|
return [self sizeLeft] > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) isComplete
|
- (BOOL) isComplete
|
||||||
|
|
Loading…
Reference in New Issue