diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/icons/index.tsx | 2 | ||||
-rw-r--r-- | src/view/screens/Settings/index.tsx | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/src/view/icons/index.tsx b/src/view/icons/index.tsx index b9af6a519..025b903b2 100644 --- a/src/view/icons/index.tsx +++ b/src/view/icons/index.tsx @@ -9,6 +9,7 @@ import {faCirclePlay} from '@fortawesome/free-regular-svg-icons/faCirclePlay' import {faCircleUser} from '@fortawesome/free-regular-svg-icons/faCircleUser' import {faClone as farClone} from '@fortawesome/free-regular-svg-icons/faClone' import {faComment} from '@fortawesome/free-regular-svg-icons/faComment' +import {faCommentDots} from '@fortawesome/free-regular-svg-icons/faCommentDots' import {faComments} from '@fortawesome/free-regular-svg-icons/faComments' import {faCompass} from '@fortawesome/free-regular-svg-icons/faCompass' import {faEyeSlash as farEyeSlash} from '@fortawesome/free-regular-svg-icons/faEyeSlash' @@ -142,6 +143,7 @@ library.add( faClone, farClone, faComment, + faCommentDots, faCommentSlash, faComments, faCompass, diff --git a/src/view/screens/Settings/index.tsx b/src/view/screens/Settings/index.tsx index c72cb96ae..078ebedab 100644 --- a/src/view/screens/Settings/index.tsx +++ b/src/view/screens/Settings/index.tsx @@ -615,6 +615,31 @@ export function SettingsScreen({}: Props) { <Trans>My Saved Feeds</Trans> </Text> </TouchableOpacity> + <TouchableOpacity + testID="linkToChatSettingsBtn" + style={[ + styles.linkCard, + pal.view, + isSwitchingAccounts && styles.dimmed, + ]} + onPress={ + isSwitchingAccounts + ? undefined + : () => navigation.navigate('MessagesSettings') + } + accessibilityRole="button" + accessibilityLabel={_(msg`Chat settings`)} + accessibilityHint={_(msg`Opens chat settings`)}> + <View style={[styles.iconContainer, pal.btn]}> + <FontAwesomeIcon + icon={['far', 'comment-dots']} + style={pal.text as FontAwesomeIconStyle} + /> + </View> + <Text type="lg" style={pal.text}> + <Trans>Chat Settings</Trans> + </Text> + </TouchableOpacity> <View style={styles.spacer20} /> |