diff --git a/Sources/Public/iOS/BundleImageProvider.swift b/Sources/Public/iOS/BundleImageProvider.swift index f27ed7495f..25b57cb704 100644 --- a/Sources/Public/iOS/BundleImageProvider.swift +++ b/Sources/Public/iOS/BundleImageProvider.swift @@ -32,8 +32,6 @@ public class BundleImageProvider: AnimationImageProvider { // MARK: Public - public var contentsGravity: CALayerContentsGravity - public func imageForAsset(asset: ImageAsset) -> CGImage? { if let data = Data(imageAsset: asset), @@ -92,6 +90,7 @@ public class BundleImageProvider: AnimationImageProvider { let bundle: Bundle let searchPath: String? + let contentsGravity: CALayerContentsGravity } extension BundleImageProvider: Equatable { diff --git a/Sources/Public/iOS/FilepathImageProvider.swift b/Sources/Public/iOS/FilepathImageProvider.swift index 910d6753d9..c996f520b3 100644 --- a/Sources/Public/iOS/FilepathImageProvider.swift +++ b/Sources/Public/iOS/FilepathImageProvider.swift @@ -30,8 +30,6 @@ public class FilepathImageProvider: AnimationImageProvider { // MARK: Public - public var contentsGravity: CALayerContentsGravity - public func imageForAsset(asset: ImageAsset) -> CGImage? { if asset.name.hasPrefix("data:"), @@ -63,6 +61,7 @@ public class FilepathImageProvider: AnimationImageProvider { // MARK: Internal let filepath: URL + let contentsGravity: CALayerContentsGravity } extension FilepathImageProvider: Equatable {