From ce49725771b2a04a992c083bf50f8953afa334d1 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 12 Nov 2025 12:34:11 -0500 Subject: [PATCH] Allows customization of the Create new list dialog --- .../screen/loggedIn/lists/list/NewPeopleListCreationDialog.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/NewPeopleListCreationDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/NewPeopleListCreationDialog.kt index 0ce4be896..edc7afd67 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/NewPeopleListCreationDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/lists/list/NewPeopleListCreationDialog.kt @@ -40,6 +40,7 @@ import com.vitorpamplona.amethyst.ui.theme.DoubleVertSpacer @Composable fun NewPeopleListCreationDialog( + title: Int = R.string.follow_set_creation_dialog_title, modifier: Modifier = Modifier, onDismiss: () -> Unit, onCreateList: (name: String, description: String?) -> Unit, @@ -56,7 +57,7 @@ fun NewPeopleListCreationDialog( horizontalArrangement = Arrangement.SpaceBetween, ) { Text( - text = stringRes(R.string.follow_set_creation_dialog_title), + text = stringRes(title), ) } },