From 73e7fb40eded4d19d90d42f90324877891e482fd Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 13 Mar 2020 10:51:49 -0500 Subject: [PATCH] Fixed macOS compile error for new brightness code detection. --- Shared/Extensions/IconImage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Extensions/IconImage.swift b/Shared/Extensions/IconImage.swift index d8c7673c2..1ddc2935d 100644 --- a/Shared/Extensions/IconImage.swift +++ b/Shared/Extensions/IconImage.swift @@ -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