Satisfy the hashtag hyphen haters
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ const ProfileHeaderLoaded = observer(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
testID: 'profileHeaderDropdownListAddRemoveBtn',
|
testID: 'profileHeaderDropdownListAddRemoveBtn',
|
||||||
label: 'Add to lists',
|
label: 'Add to Lists',
|
||||||
onPress: onPressAddToLists,
|
onPress: onPressAddToLists,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user