Skip to content

Commit a22d7d9

Browse files
committed
fix(chat): match the Create capsule's metrics to the bill step's Next
Create took the accent but not the proportions: grid.x3 horizontal padding against Next's grid.x2, and a SemiBold label against Next's plain textMedium. Side by side on the emulator that read as 10dp of extra width on an otherwise identical pill. Both now match the currency creator's capsule exactly.
1 parent ca403a4 commit a22d7d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens

‎apps/flipcash/features/tipping/src/main/kotlin/com/flipcash/app/tipping/internal/screens/NewGroupFormScreen.kt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,14 @@ private fun CreateAction(
190190
.background(container)
191191
.clickable(enabled = clickable, onClick = onClick)
192192
.padding(
193-
horizontal = CodeTheme.dimens.grid.x3,
193+
horizontal = CodeTheme.dimens.grid.x2,
194194
vertical = CodeTheme.dimens.grid.x1,
195195
),
196196
contentAlignment = Alignment.Center,
197197
) {
198198
Text(
199199
text = stringResource(R.string.action_create),
200-
style = CodeTheme.typography.textMedium.copy(fontWeight = FontWeight.SemiBold),
200+
style = CodeTheme.typography.textMedium,
201201
color = content,
202202
modifier = Modifier.alpha(if (isLoading || isSuccess) 0f else 1f),
203203
)

0 commit comments

Comments
 (0)