Skip to content

Commit

Permalink
Merge pull request #61 from 91haba/master
Browse files Browse the repository at this point in the history
typing error correction
  • Loading branch information
codestergit committed Feb 5, 2018
2 parents 45d925f + 9f5df59 commit b97db81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SweetAlert/SweetAlert.swift
Expand Up @@ -12,7 +12,7 @@ import QuartzCore

public enum AlertStyle {
case success,error,warning,none
case customImag(imageFile:String)
case customImage(imageFile:String)
}

open class SweetAlert: UIViewController {
Expand Down Expand Up @@ -258,7 +258,7 @@ open class SweetAlert: UIViewController {
case .warning:
self.animatedView = InfoAnimatedView()

case let .customImag(imageFile):
case let .customImage(imageFile):
if let image = UIImage(named: imageFile) {
self.imageView = UIImageView(image: image)
}
Expand Down

0 comments on commit b97db81

Please sign in to comment.