Commit b7ac9ad4 authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Remove string status on tap to play/pause

When tapped to play/pause the current status of the player were shown with a string.
This removes the said string and replaces it by showing the video control if it isn't
on the screen.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ba7a16e0
......@@ -1429,14 +1429,9 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (!_playPauseGestureEnabled)
return;
if ([_vpc.mediaPlayer isPlaying]) {
[_vpc.listPlayer pause];
[self.statusLabel showStatusMessage:@" ▌▌"];
} else {
[_vpc.listPlayer play];
[self.statusLabel showStatusMessage:@" ►"];
}
[_vpc.mediaPlayer isPlaying] ? [_vpc.listPlayer pause] : [_vpc.listPlayer play];
if (_controlsHidden)
[self setControlsHidden:NO animated:YES];
}
- (VLCPanType)detectPanTypeForPan:(UIPanGestureRecognizer*)panRecognizer
......
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