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

iOS 7 library: display remaining time instead of played time

parent dfd0f330
......@@ -237,7 +237,7 @@
if (SYSTEM_RUNS_IN_THE_FUTURE) {
if (position > .1f && position < .95f) {
[(UITextView*)self.mediaIsUnreadView setText:[NSString stringWithFormat:NSLocalizedString(@"LIBRARY_MINUTES_LEFT", @""), [[VLCTime timeWithInt:(mediaFile.duration.floatValue * position)] minuteStringValue]]];
[(UITextView*)self.mediaIsUnreadView setText:[NSString stringWithFormat:NSLocalizedString(@"LIBRARY_MINUTES_LEFT", @""), [[VLCTime timeWithInt:(mediaFile.duration.floatValue * position - mediaFile.duration.floatValue)] minuteStringValue]]];
self.mediaIsUnreadView.hidden = NO;
} else if (mediaFile.unread.intValue) {
[(UILabel *)self.mediaIsUnreadView setText:[NSLocalizedString(@"NEW", @"") capitalizedStringWithLocale:[NSLocale currentLocale]]];
......
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