Fixed macOS compile error for new brightness code detection.

This commit is contained in:
Maurice Parker 2020-03-13 10:51:49 -05:00
parent e0f8f7c5eb
commit 73e7fb40ed

View File

@ -39,7 +39,7 @@ final class IconImage {
}
func isBright() -> Bool {
return self.cgImage(forProposedRect: nil, context: nil, hints: nil)?.Bright() ?? false
return self.cgImage(forProposedRect: nil, context: nil, hints: nil)?.isBright() ?? false
}
}
#else