mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-18 20:34:46 +01:00
Fixed macOS compile error for new brightness code detection.
This commit is contained in:
parent
e0f8f7c5eb
commit
73e7fb40ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user