show remaining time for seeding torrents set to global stop seeding setting (with that setting on) reported by m1b
This commit is contained in:
parent
51f52dd8d6
commit
a2ecc98986
|
@ -899,7 +899,8 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
[NSString stringForRatio: [self ratio]]];
|
||||
|
||||
//add time when downloading
|
||||
if (fStat->status == TR_STATUS_DOWNLOAD || ([self isSeeding] && fRatioSetting != NSOffState))
|
||||
if (fStat->status == TR_STATUS_DOWNLOAD || ([self isSeeding]
|
||||
&& (fRatioSetting == NSOnState || (fRatioSetting == NSMixedState && [fDefaults boolForKey: @"RatioCheck"]))))
|
||||
{
|
||||
int eta = fStat->status == TR_STATUS_DOWNLOAD ? [self eta] : [self etaRatio];
|
||||
string = eta >= 0 ? [string stringByAppendingFormat: NSLocalizedString(@" - %@ remaining", "Torrent -> progress string"),
|
||||
|
|
Loading…
Reference in New Issue