For #10091 Add extension to remove and disable button

fennec/production
mcarare 4 years ago committed by Emily Kager
parent 932fd44823
commit 9dd8314d14

@ -16,3 +16,8 @@ fun ImageButton.showAndEnable() {
this.visibility = View.VISIBLE
this.isEnabled = true
}
fun ImageButton.removeAndDisable() {
this.visibility = View.GONE
this.isEnabled = false
}

Loading…
Cancel
Save