Skip to content

Commit

Permalink
fixed issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
okmr-d committed Jul 21, 2015
1 parent 8c88397 commit aa4dae4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DOFavoriteButton/DOFavoriteButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public class DOFavoriteButton: UIButton {
}

public override convenience init(frame: CGRect) {
let image = UIImage(named: "star", inBundle: NSBundle(forClass: self.dynamicType), compatibleWithTraitCollection: nil)
self.init(frame: frame, image: image)
self.init(frame: frame, image: UIImage())
}

public convenience init(frame: CGRect, image: UIImage!) {
Expand Down

0 comments on commit aa4dae4

Please sign in to comment.