mirror of
https://github.com/bitwarden/android.git
synced 2026-03-25 15:51:22 -05:00
BIT-1597: Add element IDs to Edit Send Screen (#1078)
This commit is contained in:
committed by
Álison Fernandes
parent
4bd637efb9
commit
748c18ee78
@@ -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(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user