Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetul-aecor committed Nov 24, 2022
1 parent cb3a344 commit 8313c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ACImage/ACImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public struct ACImage: View {

@StateObject var viewModel: ACImageViewModel

public init(_ url: String? = nil, imageObj : UIImage? = nil, urlType: ResourceType = .image, contentMode : ContentMode = .fill, isZoomAllowed: Bool = false, nameInitials: String? = nil, placeHolderImage : Image, failureImage: Image, size: CGSize, placeHolderOrFailurImageRatio: CGFloat = 0.4) {
public init(_ url: String? = nil, imageObj : UIImage? = nil, urlType: ResourceType = .url, contentMode : ContentMode = .fill, isZoomAllowed: Bool = false, nameInitials: String? = nil, placeHolderImage : Image, failureImage: Image, size: CGSize, placeHolderOrFailurImageRatio: CGFloat = 0.4) {

self.imageObj = imageObj

Expand Down

0 comments on commit 8313c00

Please sign in to comment.