Commit 25a8e462 authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback: fix runtime exception on iOS 7

Note that it now crashes some place else deep in AppKit

(cherry picked from commit 6f3fd117)
parent 21d2a06b
......@@ -156,8 +156,10 @@ static const CGFloat maxCompactWidth = 420.0;
- (void)setupConstraints:(BOOL)compactMode
{
[self removeConstraints:_constraints];
if (_constraints != nil) {
[self removeConstraints:_constraints];
}
NSDictionary *viewsDict = @{@"speed" : self.playbackSpeedButton,
@"track" : self.trackSwitcherButton,
@"playback" : self.playbackControls,
......
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