mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
Fix Dialog#button default (#1299)
This commit is contained in:
parent
34fc6ee6cb
commit
c9417b2fec
@ -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…
x
Reference in New Issue
Block a user