Updated on 2026-08-14
This commit is contained in:
parent
e051726484
commit
9bfcf6376a
1 changed files with 2 additions and 1 deletions
|
|
@ -112,9 +112,10 @@ private fun Buttons(state: ForceUpdateUM, modifier: Modifier = Modifier) {
|
|||
verticalArrangement = Arrangement.spacedBy(12.dp),
|
||||
) {
|
||||
state.onSupportClick?.let { onClick ->
|
||||
val isOnlyAction = state.onUpdateClick == null && state.onLaterClick == null
|
||||
TangemButton(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
variant = TangemButton.Variant.Secondary,
|
||||
variant = if (isOnlyAction) TangemButton.Variant.Primary else TangemButton.Variant.Secondary,
|
||||
text = resourceReference(R.string.common_contact_support),
|
||||
onClick = onClick,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue