Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add note to clarify "allow new messages from" setting (#4166)

authored by

Samuel Newman and committed by
GitHub
690926dd 6522ee9b

+20 -4
+20 -4
src/screens/Messages/Settings.tsx
··· 12 12 import * as Toast from '#/view/com/util/Toast' 13 13 import {ViewHeader} from '#/view/com/util/ViewHeader' 14 14 import {CenteredView} from '#/view/com/util/Views' 15 - import {atoms as a} from '#/alf' 15 + import {atoms as a, useTheme} from '#/alf' 16 16 import {Divider} from '#/components/Divider' 17 17 import * as Toggle from '#/components/forms/Toggle' 18 18 import {Text} from '#/components/Typography' ··· 23 23 type Props = NativeStackScreenProps<CommonNavigatorParams, 'MessagesSettings'> 24 24 export function MessagesSettingsScreen({}: Props) { 25 25 const {_} = useLingui() 26 + const t = useTheme() 26 27 const {currentAccount} = useSession() 27 28 const {data: profile} = useProfileQuery({ 28 29 did: currentAccount!.did, ··· 58 59 <ViewHeader title={_(msg`Settings`)} showOnDesktop showBorder /> 59 60 <View style={[a.p_lg, a.gap_md]}> 60 61 <Text style={[a.text_lg, a.font_bold]}> 61 - <Trans>Allow messages from</Trans> 62 + <Trans>Allow new messages from</Trans> 62 63 </Text> 63 64 <Toggle.Group 64 - label={_(msg`Allow messages from`)} 65 + label={_(msg`Allow new messages from`)} 65 66 type="radio" 66 67 values={[ 67 68 (profile?.associated?.chat?.allowIncoming as AllowIncoming) ?? ··· 98 99 </Toggle.Item> 99 100 </View> 100 101 </Toggle.Group> 102 + <View 103 + style={[ 104 + a.mt_sm, 105 + a.px_xl, 106 + a.py_lg, 107 + a.rounded_md, 108 + t.atoms.bg_contrast_25, 109 + ]}> 110 + <Text style={[t.atoms.text_contrast_high]}> 111 + <Trans> 112 + You can continue ongoing conversations regardless of which setting 113 + you choose. 114 + </Trans> 115 + </Text> 116 + </View> 101 117 {isNative && ( 102 118 <> 103 - <Divider /> 119 + <Divider style={a.my_md} /> 104 120 <Text style={[a.text_lg, a.font_bold]}> 105 121 <Trans>Notification Sounds</Trans> 106 122 </Text>