Commit 110cc191 authored by Tobias's avatar Tobias

fix type error

parent c4736292
......@@ -1498,7 +1498,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