Skip to content

Commit

Permalink
Add "-" when showing remaining time
Browse files Browse the repository at this point in the history
  • Loading branch information
isair committed Nov 17, 2015
1 parent c7f1f5c commit fc8579a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MobilePlayer/MobilePlayerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public class MobilePlayerViewController: MPMoviePlayerViewController {
currentTimeLabel.superview?.setNeedsLayout()
}
if let remainingTimeLabel = getViewForElementWithIdentifier("remainingTime") as? Label {
remainingTimeLabel.text = textForPlaybackTime(moviePlayer.duration - moviePlayer.currentPlaybackTime)
remainingTimeLabel.text = "-\(textForPlaybackTime(moviePlayer.duration - moviePlayer.currentPlaybackTime))"
remainingTimeLabel.superview?.setNeedsLayout()
}
updateShownTimedOverlays()
Expand Down

0 comments on commit fc8579a

Please sign in to comment.