Satisfy the hashtag hyphen haters

This commit is contained in:
Paul Frazee
2023-05-07 14:33:44 -05:00
parent 01c79acffe
commit 00a37ec6d9
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ function CreateNewItem({onPress}: {onPress: () => void}) {
<Button type="default" onPress={onPress} style={styles.createNewButton}> <Button type="default" onPress={onPress} style={styles.createNewButton}>
<FontAwesomeIcon icon="plus" style={pal.text as FontAwesomeIconStyle} /> <FontAwesomeIcon icon="plus" style={pal.text as FontAwesomeIconStyle} />
<Text type="button" style={pal.text}> <Text type="button" style={pal.text}>
New Mute-list New Mute List
</Text> </Text>
</Button> </Button>
</View> </View>
+2 -2
View File
@@ -78,13 +78,13 @@ export function Component({onCreate}: {onCreate?: (uri: string) => void}) {
description, description,
avatar: newAvatar, avatar: newAvatar,
}) })
Toast.show('Mute-list created') Toast.show('Mute list created')
onCreate?.(res.uri) onCreate?.(res.uri)
store.shell.closeModal() store.shell.closeModal()
} catch (e: any) { } catch (e: any) {
if (isNetworkError(e)) { if (isNetworkError(e)) {
setError( setError(
'Failed to create the mute-list. Check your internet connection and try again.', 'Failed to create the mute list. Check your internet connection and try again.',
) )
} else { } else {
setError(cleanError(e)) setError(cleanError(e))
+1 -1
View File
@@ -135,7 +135,7 @@ export function Component({
return ( return (
<EmptyStateWithButton <EmptyStateWithButton
icon="users-slash" icon="users-slash"
message="You can subscribe to mute-lists to automatically mute all of the users they include. Mute-lists are public but your subscription to a mute-list is private." message="You can subscribe to mute lists to automatically mute all of the users they include. Mute lists are public but your subscription to a mute list is private."
buttonLabel="New Mute List" buttonLabel="New Mute List"
onPress={onPressNewMuteList} onPress={onPressNewMuteList}
/> />
+1 -1
View File
@@ -244,7 +244,7 @@ const ProfileHeaderLoaded = observer(
}, },
{ {
testID: 'profileHeaderDropdownListAddRemoveBtn', testID: 'profileHeaderDropdownListAddRemoveBtn',
label: 'Add to lists', label: 'Add to Lists',
onPress: onPressAddToLists, onPress: onPressAddToLists,
}, },
] ]
+1 -1
View File
@@ -74,7 +74,7 @@ export const ModerationScreen = withAuthRequired(
/> />
</View> </View>
<Text type="lg" style={pal.text}> <Text type="lg" style={pal.text}>
Mute-list subscriptions Mute list subscriptions
</Text> </Text>
</Link> </Link>
<Link <Link
+2 -2
View File
@@ -59,7 +59,7 @@ export const ModerationMuteListsScreen = withAuthRequired(({route}: Props) => {
return ( return (
<EmptyStateWithButton <EmptyStateWithButton
icon="users-slash" icon="users-slash"
message="You can subscribe to mute-lists to automatically mute all of the users they include. Mute-lists are public but your subscription to a mute-list is private." message="You can subscribe to mute lists to automatically mute all of the users they include. Mute lists are public but your subscription to a mute list is private."
buttonLabel="New Mute List" buttonLabel="New Mute List"
onPress={onPressNewMuteList} onPress={onPressNewMuteList}
/> />
@@ -92,7 +92,7 @@ export const ModerationMuteListsScreen = withAuthRequired(({route}: Props) => {
]} ]}
testID="moderationMutelistsScreen"> testID="moderationMutelistsScreen">
<ViewHeader <ViewHeader
title="Mute-lists" title="Mute Lists"
showOnDesktop showOnDesktop
renderButton={renderHeaderButton} renderButton={renderHeaderButton}
/> />