For #26283: Use message buttonLabel in MessageCard.
This commit is contained in:
parent
4ee1b6da9e
commit
bddac731d5
|
@ -124,11 +124,12 @@ fun MessageCard(
|
|||
}
|
||||
}
|
||||
|
||||
if (!message.data.buttonLabel.isNullOrBlank()) {
|
||||
val buttonLabel = message.data.buttonLabel
|
||||
if (!buttonLabel.isNullOrBlank()) {
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
|
||||
PrimaryButton(
|
||||
text = stringResource(R.string.preferences_set_as_default_browser),
|
||||
text = buttonLabel,
|
||||
onClick = onClick
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue