Incoming call screen: ensure buttons stay grouped in the center of the screen.

This commit is contained in:
Benoit Marty
2026-02-12 16:01:05 +01:00
parent 765ea94166
commit 194f1d2d37
@@ -97,11 +97,8 @@ internal fun IncomingCallScreen(
) )
} }
Row( Row(
modifier = Modifier modifier = Modifier.padding(bottom = 64.dp),
.fillMaxWidth() horizontalArrangement = Arrangement.spacedBy(48.dp),
.padding(start = 24.dp, end = 24.dp, bottom = 64.dp),
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically
) { ) {
ActionButton( ActionButton(
size = 64.dp, size = 64.dp,
@@ -111,7 +108,6 @@ internal fun IncomingCallScreen(
backgroundColor = ElementTheme.colors.iconSuccessPrimary, backgroundColor = ElementTheme.colors.iconSuccessPrimary,
borderColor = ElementTheme.colors.borderSuccessSubtle borderColor = ElementTheme.colors.borderSuccessSubtle
) )
ActionButton( ActionButton(
size = 64.dp, size = 64.dp,
onClick = onCancel, onClick = onCancel,