Skip to content

Commit f5690a4

Browse files
committed
🚑 Now views get active on enable() too like reset()
1 parent fbc0a54 commit f5690a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

progress-button/src/main/java/dev/sagar/progress_button/ProgressButton.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ class ProgressButton @JvmOverloads constructor(
349349
* Enable button
350350
*/
351351
fun enable() {
352+
for (editText in disableViews) {
353+
editText.isEnabled = true
354+
}
352355
cardView.setCardBackgroundColor(
353356
defaultColor
354357
)

0 commit comments

Comments
 (0)