File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/src/main/java/to/bitkit/ui/scaffold Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ import androidx.compose.runtime.Composable
99import androidx.compose.ui.Modifier
1010import androidx.compose.ui.platform.testTag
1111import androidx.compose.ui.res.stringResource
12+ import androidx.compose.ui.semantics.semantics
13+ import androidx.compose.ui.semantics.testTagsAsResourceId
1214import androidx.compose.ui.tooling.preview.Preview
1315import androidx.compose.ui.window.DialogProperties
1416import to.bitkit.R
@@ -84,7 +86,7 @@ fun AppAlertDialog(
8486 shape = MaterialTheme .shapes.medium,
8587 properties = properties,
8688 containerColor = Colors .Gray5 ,
87- modifier = modifier,
89+ modifier = modifier.semantics { testTagsAsResourceId = true } ,
8890 )
8991}
9092
You can’t perform that action at this time.
0 commit comments