Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Closes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
bre7 committed Nov 30, 2015
1 parent 01a7d6f commit 0d0d59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/Swift/ChameleonShorthand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Generates and creates an array of 5 color objects in the HSB colorspace that app
*/
public func ColorsFromImage(image: UIImage, withFlatScheme: Bool) -> [UIColor] {
// TODO: Remove forced casting
return NSArray(ofColorsFromImage: UIImage(), withFlatScheme: true) as! [UIColor]
return NSArray(ofColorsFromImage: image, withFlatScheme: withFlatScheme) as! [UIColor]
}


Expand Down

0 comments on commit 0d0d59f

Please sign in to comment.