mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Move maxScreenScale to RSImage-Extensions. Mark IconScalerQueue as @unchecked Sendable (because it is).
This commit is contained in:
@@ -20,14 +20,6 @@ public typealias RSImage = UIImage
|
||||
|
||||
public extension RSImage {
|
||||
|
||||
#if os(macOS)
|
||||
static let maxScreenScale = CGFloat(2)
|
||||
#endif
|
||||
|
||||
#if os(iOS)
|
||||
static let maxScreenScale = CGFloat(3)
|
||||
#endif
|
||||
|
||||
/// Create a colored image from the source image using a specified color.
|
||||
///
|
||||
/// - Parameter color: The color with which to fill the mask image.
|
||||
|
||||
Reference in New Issue
Block a user