Commit 9dd8314d authored by mcarare's avatar mcarare Committed by Emily Kager
Browse files

For #10091 Add extension to remove and disable button

parent 932fd448
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,3 +16,8 @@ fun ImageButton.showAndEnable() {
    this.visibility = View.VISIBLE
    this.isEnabled = true
}

fun ImageButton.removeAndDisable() {
    this.visibility = View.GONE
    this.isEnabled = false
}