mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
PM-14044: Update generator line breaks to account for padding on both sides (#4187)
This commit is contained in:
parent
a5e57f1836
commit
6f26ae50ea
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ fun BitwardenTextField(
|
||||||
val formattedText = if (shouldAddCustomLineBreaks) {
|
val formattedText = if (shouldAddCustomLineBreaks) {
|
||||||
value.withLineBreaksAtWidth(
|
value.withLineBreaksAtWidth(
|
||||||
// Adjust for built in padding
|
// Adjust for built in padding
|
||||||
widthPx = widthPx - 16.dp.toPx(),
|
widthPx = widthPx - 32.dp.toPx(),
|
||||||
monospacedTextStyle = textStyle,
|
monospacedTextStyle = textStyle,
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue