mirror of
https://github.com/transmission/transmission
synced 2025-02-03 21:12:05 +00:00
stupid mistake
This commit is contained in:
parent
d7007dd1f2
commit
20ae43e2b1
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@
|
|||
else if ([ident isEqualToString: @"Client"])
|
||||
return [peer objectForKey: @"Client"];
|
||||
else if ([ident isEqualToString: @"Progress"])
|
||||
return [[peer objectForKey: @"Connected"] boolValue] ? [peer objectForKey: @"Progress"] : -1;
|
||||
return [[peer objectForKey: @"Connected"] boolValue] ? [peer objectForKey: @"Progress"] : [NSNumber numberWithInt: -1];
|
||||
else if ([ident isEqualToString: @"UL To"])
|
||||
return [[peer objectForKey: @"Connected"] boolValue] && [[peer objectForKey: @"UL To"] boolValue]
|
||||
? [NSString stringForSpeedAbbrev: [[peer objectForKey: @"UL To Rate"] floatValue]] : @"";
|
||||
|
|
Loading…
Reference in a new issue