diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt index 23ccec242..3493c1ab7 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/dialogs/RadioGroupDialog.kt @@ -98,7 +98,7 @@ class RadioGroupDialog( @Composable -fun RadioGroupDialogAlertDialog( +fun RadioGroupAlertDialog( alertDialogState: AlertDialogState, modifier: Modifier = Modifier, items: ImmutableList, @@ -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"), diff --git a/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/TestDialogActivity.kt b/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/TestDialogActivity.kt index d8a75d6f3..4a5115b6c 100644 --- a/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/TestDialogActivity.kt +++ b/samples/src/main/kotlin/com/simplemobiletools/commons/samples/activities/TestDialogActivity.kt @@ -98,7 +98,7 @@ class TestDialogActivity : ComponentActivity() { @Composable private fun getRadioGroupDialogAlertDialogState() = rememberAlertDialogState().apply { DialogMember { - RadioGroupDialogAlertDialog( + RadioGroupAlertDialog( alertDialogState = this, items = listOf( RadioItem(1, "Test"),