Reduce the risk of text truncation in buttons.

This commit is contained in:
Benoit Marty 2024-07-17 17:13:00 +02:00
parent f5e866e18c
commit 13853a39a5
4 changed files with 104 additions and 10 deletions

View file

@ -155,13 +155,13 @@ private fun JoinRoomFooter(
text = stringResource(CommonStrings.action_decline),
onClick = onDeclineInvite,
modifier = Modifier.weight(1f),
size = ButtonSize.Large,
size = ButtonSize.LargeLowPadding,
)
Button(
text = stringResource(CommonStrings.action_accept),
onClick = onAcceptInvite,
modifier = Modifier.weight(1f),
size = ButtonSize.Large,
size = ButtonSize.LargeLowPadding,
)
}
}