Skip to content

Commit

Permalink
Fix isLoading
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusolino committed Jun 5, 2018
1 parent cfb1720 commit d7f99a4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Sources/PMSuperButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,7 @@ open class PMSuperButton: UIButton {

//MARK: - Loading
let indicator: UIActivityIndicatorView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray)
public var isLoading: Bool{
get{
return indicator.isAnimating
}
set{

}
}
public var isLoading: Bool = false

/**
Show a loader inside the button, and enable or disable user interection while loading
Expand Down

0 comments on commit d7f99a4

Please sign in to comment.