From d528ae791fb26fce001a6fba595f901618a13296 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 10 Oct 2025 21:57:42 +0300 Subject: [PATCH] Fix add/edit moderation list form placeholder text (#9074) * fix placeholder text of modlist dialog * change header font weight * fix string --- src/components/Dialog/shared.tsx | 2 +- .../dialogs/lists/CreateOrEditListDialog.tsx | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/Dialog/shared.tsx b/src/components/Dialog/shared.tsx index e9fdf50fa7..df4400a70c 100644 --- a/src/components/Dialog/shared.tsx +++ b/src/components/Dialog/shared.tsx @@ -62,7 +62,7 @@ export function HeaderText({ style?: StyleProp }) { return ( - + {children} ) diff --git a/src/components/dialogs/lists/CreateOrEditListDialog.tsx b/src/components/dialogs/lists/CreateOrEditListDialog.tsx index 5045853f6e..c3d044cf91 100644 --- a/src/components/dialogs/lists/CreateOrEditListDialog.tsx +++ b/src/components/dialogs/lists/CreateOrEditListDialog.tsx @@ -349,6 +349,14 @@ function DialogInner({ ? _(msg`Create user list`) : _(msg`Create moderation list`) + const displayNamePlaceholder = isCurateList + ? _(msg`e.g. Great Posters`) + : _(msg`e.g. Spammers`) + + const descriptionPlaceholder = isCurateList + ? _(msg`e.g. The posters who never miss.`) + : _(msg`e.g. Users that repeatedly reply with ads.`) + return ( @@ -426,7 +434,7 @@ function DialogInner({ onChangeText={onChangeDescription} multiline label={_(msg`Description`)} - placeholder={_(msg`e.g. The posters that never miss.`)} + placeholder={descriptionPlaceholder} testID="editProfileDescriptionInput" />