mirror of
https://github.com/bitwarden/android.git
synced 2026-05-22 14:11:47 -05:00
BIT-1714 Add the ID to the decline all requests button (#983)
This commit is contained in:
@@ -37,6 +37,8 @@ import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.semantics.semantics
|
||||
import androidx.compose.ui.semantics.testTag
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.hilt.navigation.compose.hiltViewModel
|
||||
@@ -218,6 +220,7 @@ private fun PendingRequestsContent(
|
||||
icon = painterResource(id = R.drawable.ic_trash),
|
||||
onClick = { shouldShowDeclineAllRequestsConfirm = true },
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "DeclineAllRequestsButton" }
|
||||
.padding(horizontal = 16.dp)
|
||||
.fillMaxWidth(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user