Skip to content

Commit a5378fd

Browse files
authored
Merge pull request #164 from code-payments/chore/access-key-make-less-crowded
chore(accesskey): improve layout spacing to reduce crowding
2 parents 3c8c2ec + 0117140 commit a5378fd

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

app/src/main/java/com/getcode/view/login/AccessKey.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,15 @@ fun AccessKey(
234234
Text(
235235
modifier = Modifier
236236
.alpha(textAlpha)
237-
.padding(bottom = CodeTheme.dimens.grid.x6),
237+
.fillMaxWidth()
238+
.padding(horizontal = CodeTheme.dimens.grid.x5)
239+
.padding(
240+
top = CodeTheme.dimens.grid.x3,
241+
bottom = CodeTheme.dimens.grid.x6
242+
),
238243
style = CodeTheme.typography.body2.copy(textAlign = TextAlign.Center),
239244
color = White,
240245
text = stringResource(R.string.subtitle_accessKeyDescription)
241-
.replace(". ", ".\n")
242246
)
243247
}
244248

0 commit comments

Comments
 (0)