Fix Dialog#button default (#1299)

pull/1302/head
Andrew 2 years ago committed by GitHub
parent 34fc6ee6cb
commit c9417b2fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,7 @@ class SessionDialogBuilder(val context: Context) {
@StringRes text: Int,
@StringRes contentDescriptionRes: Int = text,
@StyleRes style: Int = R.style.Widget_Session_Button_Dialog_UnimportantText,
dismiss: Boolean = false,
dismiss: Boolean = true,
listener: (() -> Unit) = {}
) = Button(context, null, 0, style).apply {
setText(text)

Loading…
Cancel
Save