Fix some padding

This commit is contained in:
Andrew 2024-06-12 12:48:58 +09:30
parent 04fbf64d50
commit 9d3ef2758d
3 changed files with 4 additions and 3 deletions

View File

@ -179,8 +179,8 @@ fun EnterAccountId(
OutlineButton( OutlineButton(
modifier = Modifier modifier = Modifier
.align(Alignment.CenterHorizontally) .align(Alignment.CenterHorizontally)
.padding(horizontal = 64.dp) .padding(horizontal = LocalDimensions.current.marginLarge)
.width(200.dp) .fillMaxWidth()
.contentDescription(R.string.next), .contentDescription(R.string.next),
onClick = { callbacks.onContinue() } onClick = { callbacks.onContinue() }
) { ) {

View File

@ -392,7 +392,7 @@ class HomeActivity : PassphraseRequiredActionBarActivity(),
stringResource(R.string.save_your_recovery_password), stringResource(R.string.save_your_recovery_password),
style = MaterialTheme.typography.h8 style = MaterialTheme.typography.h8
) )
Spacer(Modifier.requiredWidth(LocalDimensions.current.itemSpacingSmall)) Spacer(Modifier.requiredWidth(LocalDimensions.current.itemSpacingExtraSmall))
SessionShieldIcon() SessionShieldIcon()
} }
Text( Text(

View File

@ -227,6 +227,7 @@ private fun HideRecoveryPasswordCell(onHide: () -> Unit = {}) {
style = MaterialTheme.typography.base style = MaterialTheme.typography.base
) )
} }
Spacer(modifier = Modifier.width(LocalDimensions.current.marginExtraExtraSmall))
DestructiveButtons { DestructiveButtons {
OutlineButton( OutlineButton(
textId = R.string.hide, textId = R.string.hide,