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

mini player: minor UI tweak

parent 4ed6938b
......@@ -78,7 +78,7 @@
[self addSubview:_previousButton];
CGFloat artworkViewWidth = _artworkView.frame.size.width;
_metaDataLabel = [[UILabel alloc] initWithFrame:CGRectMake(artworkViewWidth + 10., 0., previousRect.origin.x - artworkViewWidth, viewFrame.size.height)];
_metaDataLabel = [[UILabel alloc] initWithFrame:CGRectMake(artworkViewWidth + 10., 0., previousRect.origin.x - artworkViewWidth - 10., viewFrame.size.height)];
_metaDataLabel.font = [UIFont systemFontOfSize:12.];
_metaDataLabel.textColor = [UIColor VLCLightTextColor];
_metaDataLabel.numberOfLines = 0;
......@@ -147,6 +147,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
_videoView = nil;
}
} else {
_artworkView.image = nil;
if (_videoView) {
[_videoView removeFromSuperview];
_videoView = nil;
......
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