enableButton

fun enableButton(button: DialogButtonType, enabled: Boolean)

this will enable or disable a button

Parameters

button

the DialogButtonType that should be enabled/disabled

enabled

if true, the button will be enabled