1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-02-22 16:49:13 +03:00

fix textfield margin

This commit is contained in:
mpbw2 2025-01-27 09:53:45 -05:00
parent 69cbf23274
commit df78534f54
No known key found for this signature in database

View file

@ -135,8 +135,7 @@ fun LazyListScope.vaultAddEditLoginItems(
onNextCoachMark = onNextCoachMark,
onCoachMarkDismissed = onCoachMarkDismissed,
modifier = Modifier
.fillMaxWidth()
.standardHorizontalMargin(),
.fillMaxWidth(),
)
}
@ -569,9 +568,6 @@ private fun CoachMarkScope<AddEditItemCoachMark>.TotpRow(
if (totpKey != null) {
if (canViewTotp) {
BitwardenTextFieldWithActions(
modifier = Modifier
.fillMaxWidth()
.standardHorizontalMargin(),
label = stringResource(id = R.string.totp),
value = totpKey,
trailingIconContent = {
@ -600,6 +596,7 @@ private fun CoachMarkScope<AddEditItemCoachMark>.TotpRow(
},
textFieldTestTag = "LoginTotpEntry",
cardStyle = CardStyle.Full,
modifier = modifier,
)
} else {
BitwardenTextField(
@ -611,6 +608,7 @@ private fun CoachMarkScope<AddEditItemCoachMark>.TotpRow(
readOnly = true,
enabled = false,
singleLine = true,
modifier = modifier,
)
}
} else {