undid comment

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-10-08 09:18:23 -05:00
parent bf2a3e7e5b
commit f66dc66818
2 changed files with 7 additions and 7 deletions

View File

@ -183,8 +183,8 @@
// Returns a gradient lighter color; // Returns a gradient lighter color;
+ (nonnull UIColor *)mfGradientColor:(nullable UIColor *)color; + (nonnull UIColor *)mfGradientColor:(nullable UIColor *)color;
//// Returns if the color is dark or not // Returns if the color is dark or not
//- (BOOL)isDark; - (BOOL)isDark;
#pragma mark - Hex String #pragma mark - Hex String

View File

@ -387,11 +387,11 @@
return [UIColor whiteColor]; return [UIColor whiteColor];
} }
//- (BOOL)isDark { - (BOOL)isDark {
// CGFloat greyScale = 0; CGFloat greyScale = 0;
// [self getWhite:&greyScale alpha:nil]; [self getWhite:&greyScale alpha:nil];
// return greyScale < 0.5; return greyScale < 0.5;
//} }
#pragma mark - Hex String #pragma mark - Hex String