Rename RadioGroupDialogAlertDialog
to RadioGroupAlertDialog
This commit is contained in:
parent
8495734e71
commit
2f5c02337d
2 changed files with 3 additions and 3 deletions
|
@ -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"),
|
||||
|
|
|
@ -98,7 +98,7 @@ class TestDialogActivity : ComponentActivity() {
|
|||
@Composable
|
||||
private fun getRadioGroupDialogAlertDialogState() = rememberAlertDialogState().apply {
|
||||
DialogMember {
|
||||
RadioGroupDialogAlertDialog(
|
||||
RadioGroupAlertDialog(
|
||||
alertDialogState = this,
|
||||
items = listOf(
|
||||
RadioItem(1, "Test"),
|
||||
|
|
Loading…
Reference in a new issue