Skip to content

Commit

Permalink
🚑 Now views get active on enable() too like reset()
Browse files Browse the repository at this point in the history
  • Loading branch information
hellosagar committed Jun 27, 2021
1 parent fbc0a54 commit f5690a4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ class ProgressButton @JvmOverloads constructor(
* Enable button
*/
fun enable() {
for (editText in disableViews) {
editText.isEnabled = true
}
cardView.setCardBackgroundColor(
defaultColor
)
Expand Down

0 comments on commit f5690a4

Please sign in to comment.