add custom algorithm screen to settings under moderation
This commit is contained in:
parent
678f75b495
commit
370d52bd1f
5 changed files with 47 additions and 0 deletions
|
@ -290,6 +290,22 @@ export const SettingsScreen = withAuthRequired(
|
|||
<Text type="xl-bold" style={[pal.text, styles.heading]}>
|
||||
Moderation
|
||||
</Text>
|
||||
<Link
|
||||
testID="bookmarkedAlgosBtn"
|
||||
style={[styles.linkCard, pal.view, isSwitching && styles.dimmed]}
|
||||
accessibilityHint="Custom Algorithms"
|
||||
accessibilityLabel="Opens screen with all bookmarked custom algorithms"
|
||||
href="/settings/custom-algorithms">
|
||||
<View style={[styles.iconContainer, pal.btn]}>
|
||||
<FontAwesomeIcon
|
||||
icon="rss"
|
||||
style={pal.text as FontAwesomeIconStyle}
|
||||
/>
|
||||
</View>
|
||||
<Text type="lg" style={pal.text}>
|
||||
Custom Algorithms
|
||||
</Text>
|
||||
</Link>
|
||||
<TouchableOpacity
|
||||
testID="contentFilteringBtn"
|
||||
style={[styles.linkCard, pal.view, isSwitching && styles.dimmed]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue