mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
if the last announce resulted in no peers being retrieved, don't display info on the number of peers retrieved
This commit is contained in:
parent
5c9cd2c2db
commit
1440e61555
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@
|
|||
else
|
||||
{
|
||||
baseString = [NSLocalizedString(@"Last Announce", "Tracker last announce") stringByAppendingFormat: @": %@", dateString];
|
||||
if (fStat.hasAnnounced && fStat.lastAnnounceSucceeded)
|
||||
if (fStat.hasAnnounced && fStat.lastAnnounceSucceeded && fStat.lastAnnouncePeerCount > 0)
|
||||
{
|
||||
NSString * peerString;
|
||||
if (fStat.lastAnnouncePeerCount == 1)
|
||||
|
|
Loading…
Reference in a new issue