Commit 1e79d63f authored by Felix Paul Kühne's avatar Felix Paul Kühne

playback: cosmetics

parent df5b119b
......@@ -914,11 +914,11 @@
} else if ([panType isEqual:@"Brightness"]) {
CGFloat brightness = [UIScreen mainScreen].brightness;
if (panDirectionY > 0)
[[UIScreen mainScreen]setBrightness:(brightness - 0.01)];
[[UIScreen mainScreen] setBrightness:(brightness - 0.01)];
else
[[UIScreen mainScreen]setBrightness:(brightness + 0.01)];
[[UIScreen mainScreen] setBrightness:(brightness + 0.01)];
NSString *brightnessHUD =[NSString stringWithFormat:@"%@: %@ %%", NSLocalizedString(@"VFILTER_BRIGHTNESS", @""), [[[NSString stringWithFormat:@"%f",(brightness*100)] componentsSeparatedByString:@"."] objectAtIndex:0]];
NSString *brightnessHUD = [NSString stringWithFormat:@"%@: %@ %%", NSLocalizedString(@"VFILTER_BRIGHTNESS", @""), [[[NSString stringWithFormat:@"%f",(brightness*100)] componentsSeparatedByString:@"."] objectAtIndex:0]];
[self.statusLabel showStatusMessage:brightnessHUD];
}
......
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