mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fixed macOS compile error for new brightness code detection.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user