diff --git a/src/private/MDFColorCalculations.m b/src/private/MDFColorCalculations.m index a804fbd..4e2699e 100644 --- a/src/private/MDFColorCalculations.m +++ b/src/private/MDFColorCalculations.m @@ -123,8 +123,7 @@ CGFloat MDFRelativeLuminanceOfRGBComponents(const CGFloat *components) { return 0.2126f * linearRGB[0] + 0.7152f * linearRGB[1] + 0.0722f * linearRGB[2]; } -CGFloat MDFMinAlphaOfColorOnBackgroundColor(UIColor *color, - UIColor *backgroundColor, +CGFloat MDFMinAlphaOfColorOnBackgroundColor(UIColor *color, UIColor *backgroundColor, CGFloat minContrastRatio) { CGFloat colorComponents[4]; CGFloat backgroundColorComponents[4];