PM-21135: Fix view send field order (#5277)

This commit is contained in:
David Perez
2025-05-28 13:14:26 -05:00
committed by GitHub
parent bdd0660e2b
commit cf8578f3ef

View File

@@ -272,6 +272,17 @@ private fun ViewStateContent(
.padding(horizontal = 16.dp),
)
Spacer(modifier = Modifier.height(height = 8.dp))
BitwardenTextField(
label = stringResource(id = R.string.send_name_required),
value = state.sendName,
onValueChange = {},
readOnly = true,
cardStyle = CardStyle.Full,
modifier = Modifier
.fillMaxWidth()
.standardHorizontalMargin(),
)
Spacer(modifier = Modifier.height(height = 8.dp))
when (val sendType = state.sendType) {
is ViewSendState.ViewState.Content.SendType.FileType -> {
FileSendContent(
@@ -293,18 +304,6 @@ private fun ViewStateContent(
}
Spacer(modifier = Modifier.height(height = 8.dp))
BitwardenTextField(
label = stringResource(id = R.string.send_name_required),
value = state.sendName,
onValueChange = {},
readOnly = true,
cardStyle = CardStyle.Full,
modifier = Modifier
.fillMaxWidth()
.standardHorizontalMargin(),
)
Spacer(modifier = Modifier.height(height = 8.dp))
BitwardenTextField(
label = stringResource(id = R.string.deletion_date),
value = state.deletionDate,