Rename RadioGroupDialogAlertDialog to RadioGroupAlertDialog

This commit is contained in:
Ensar Sarajčić 2023-10-04 16:25:34 +02:00
parent 8495734e71
commit 2f5c02337d
2 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ class RadioGroupDialog(
@Composable
fun RadioGroupDialogAlertDialog(
fun RadioGroupAlertDialog(
alertDialogState: AlertDialogState,
modifier: Modifier = Modifier,
items: ImmutableList<RadioItem>,
@ -179,7 +179,7 @@ private fun getSelectedValue(
@MyDevices
private fun RadioGroupDialogAlertDialogPreview(@PreviewParameter(BooleanPreviewParameterProvider::class) showOKButton: Boolean) {
AppThemeSurface {
RadioGroupDialogAlertDialog(
RadioGroupAlertDialog(
alertDialogState = rememberAlertDialogState(),
items = listOf(
RadioItem(1, "Test"),

View file

@ -98,7 +98,7 @@ class TestDialogActivity : ComponentActivity() {
@Composable
private fun getRadioGroupDialogAlertDialogState() = rememberAlertDialogState().apply {
DialogMember {
RadioGroupDialogAlertDialog(
RadioGroupAlertDialog(
alertDialogState = this,
items = listOf(
RadioItem(1, "Test"),