mirror of
https://github.com/bitwarden/android.git
synced 2026-04-28 03:48:14 -05:00
PM-21135: Fix view send field order (#5277)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user