BIT-1714 Add the ID to the decline all requests button (#983)

This commit is contained in:
Oleg Semenenko 2024-02-08 10:22:47 -06:00 committed by Álison Fernandes
parent 200ecf73e4
commit 673972c0be

View file

@ -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(),
)