tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

Fix add/edit moderation list form placeholder text (#9074)

* fix placeholder text of modlist dialog

* change header font weight

* fix string

authored by samuel.fm and committed by GitHub d528ae79 b15903e0

Changed files
+11 -3
src
components
Dialog
dialogs
+1 -1
src/components/Dialog/shared.tsx
··· 62 62 style?: StyleProp<TextStyle> 63 63 }) { 64 64 return ( 65 - <Text style={[a.text_lg, a.text_center, a.font_bold, style]}> 65 + <Text style={[a.text_lg, a.text_center, a.font_semi_bold, style]}> 66 66 {children} 67 67 </Text> 68 68 )
+10 -2
src/components/dialogs/lists/CreateOrEditListDialog.tsx
··· 349 349 ? _(msg`Create user list`) 350 350 : _(msg`Create moderation list`) 351 351 352 + const displayNamePlaceholder = isCurateList 353 + ? _(msg`e.g. Great Posters`) 354 + : _(msg`e.g. Spammers`) 355 + 356 + const descriptionPlaceholder = isCurateList 357 + ? _(msg`e.g. The posters who never miss.`) 358 + : _(msg`e.g. Users that repeatedly reply with ads.`) 359 + 352 360 return ( 353 361 <Dialog.ScrollableInner 354 362 label={title} ··· 389 397 defaultValue={displayName} 390 398 onChangeText={onChangeDisplayName} 391 399 label={_(msg`Name`)} 392 - placeholder={_(msg`e.g. Great Posters`)} 400 + placeholder={displayNamePlaceholder} 393 401 testID="editListNameInput" 394 402 /> 395 403 </TextField.Root> ··· 426 434 onChangeText={onChangeDescription} 427 435 multiline 428 436 label={_(msg`Description`)} 429 - placeholder={_(msg`e.g. The posters that never miss.`)} 437 + placeholder={descriptionPlaceholder} 430 438 testID="editProfileDescriptionInput" 431 439 /> 432 440 </TextField.Root>