Commit dde9e322 authored by Felix Paul Kühne's avatar Felix Paul Kühne

playlist: minor tweak

parent e6275391
......@@ -188,7 +188,9 @@
[string appendString:anyTrack.artist];
[string appendString:@" — "];
}
[string appendFormat:@"%@ — %@", [NSString stringWithFormat:(count > 1) ? NSLocalizedString(@"LIBRARY_TRACKS", @"") : NSLocalizedString(@"LIBRARY_SINGLE_TRACK", @""), count], album.releaseYear];
[string appendString:[NSString stringWithFormat:(count > 1) ? NSLocalizedString(@"LIBRARY_TRACKS", @"") : NSLocalizedString(@"LIBRARY_SINGLE_TRACK", @""), count]];
if (album.releaseYear)
[string appendFormat:@" — %@", album.releaseYear];
self.subtitleLabel.text = string;
self.mediaIsUnreadView.hidden = YES;
self.progressView.hidden = YES;
......
......@@ -182,7 +182,9 @@
[string appendString:anyTrack.artist];
[string appendString:@" — "];
}
[string appendFormat:@"%@ — %@", [NSString stringWithFormat:(count > 1) ? NSLocalizedString(@"LIBRARY_TRACKS", @"") : NSLocalizedString(@"LIBRARY_SINGLE_TRACK", @""), count], album.releaseYear];
[string appendString:[NSString stringWithFormat:(count > 1) ? NSLocalizedString(@"LIBRARY_TRACKS", @"") : NSLocalizedString(@"LIBRARY_SINGLE_TRACK", @""), count]];
if (album.releaseYear)
[string appendFormat:@" — %@", album.releaseYear];
self.subtitleLabel.text = string;
self.mediaIsUnreadView.hidden = YES;
self.progressIndicator.hidden = YES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment