mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 18:58:59 +03:00
BIT-1597: Add element IDs to Edit Send Screen (#1078)
This commit is contained in:
parent
4bd637efb9
commit
748c18ee78
1 changed files with 5 additions and 1 deletions
|
@ -364,6 +364,7 @@ private fun AddSendOptions(
|
|||
Spacer(modifier = Modifier.height(8.dp))
|
||||
AddSendCustomDateChooser(
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "SendCustomDeletionDatePicker" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
dateFormatPattern = state.common.dateFormatPattern,
|
||||
|
@ -392,6 +393,7 @@ private fun AddSendOptions(
|
|||
Spacer(modifier = Modifier.height(8.dp))
|
||||
AddSendCustomDateChooser(
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "SendCustomExpirationDatePicker" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
dateFormatPattern = state.common.dateFormatPattern,
|
||||
|
@ -418,7 +420,9 @@ private fun AddSendOptions(
|
|||
label = stringResource(id = R.string.clear),
|
||||
onClick = addSendHandlers.onClearExpirationDateClick,
|
||||
isEnabled = state.common.expirationDate != null && !sendRestrictionPolicy,
|
||||
modifier = Modifier.wrapContentWidth(),
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "SendClearExpirationDateButton" }
|
||||
.wrapContentWidth(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue