Commit a096b16c authored by Tobias's avatar Tobias Committed by Felix Paul Kühne

fix type error

(cherry picked from commit 110cc191)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent e7066b96
......@@ -1537,7 +1537,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (notification)
self.brightnessSlider.value = [(UIScreen *)notification.object brightness] * 2.;
else if (![[UIDevice currentDevice] hasExternalDisplay])
self.brightnessSlider.value = [[[UIScreen screens] firstObject] brightness] * 2.;
self.brightnessSlider.value = [(UIScreen *)[[UIScreen screens] firstObject] brightness] * 2.;
}
#pragma mark - playback view
......
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