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 GitHub
parent 3d80a3b5bb
commit 20f7618c13

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