Updated on 2026-08-14
This commit is contained in:
parent
e5f157bcf3
commit
5402221995
4 changed files with 23 additions and 9 deletions
|
|
@ -83,12 +83,16 @@ fun TangemMessage(
|
|||
trailingContent = if (isIconLeading) null else icon,
|
||||
contentColor = contentColor,
|
||||
onCloseClick = messageUM.onCloseClick,
|
||||
buttons = {
|
||||
messageUM.buttonsUM.fastForEach { buttonUM ->
|
||||
TangemButton(
|
||||
buttonUM = buttonUM.tangemButtonUM,
|
||||
modifier = Modifier.weight(1f),
|
||||
)
|
||||
buttons = if (messageUM.buttonsUM.isEmpty()) {
|
||||
null
|
||||
} else {
|
||||
{
|
||||
messageUM.buttonsUM.fastForEach { buttonUM ->
|
||||
TangemButton(
|
||||
buttonUM = buttonUM.tangemButtonUM,
|
||||
modifier = Modifier.weight(1f),
|
||||
)
|
||||
}
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue