mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

at rm-proxy 33 lines 1.1 kB view raw
1import React from 'react' 2import {View} from 'react-native' 3import {msg} from '@lingui/macro' 4import {useLingui} from '@lingui/react' 5import {useFocusEffect} from '@react-navigation/native' 6 7import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' 8import {makeRecordUri} from '#/lib/strings/url-helpers' 9import {useSetMinimalShellMode} from '#/state/shell' 10import {ViewHeader} from '#/view/com/util/ViewHeader' 11import {LikedByList} from '#/components/LikedByList' 12 13export function ProfileLabelerLikedByScreen({ 14 route, 15}: NativeStackScreenProps<CommonNavigatorParams, 'ProfileLabelerLikedBy'>) { 16 const setMinimalShellMode = useSetMinimalShellMode() 17 const {name: handleOrDid} = route.params 18 const uri = makeRecordUri(handleOrDid, 'app.bsky.labeler.service', 'self') 19 const {_} = useLingui() 20 21 useFocusEffect( 22 React.useCallback(() => { 23 setMinimalShellMode(false) 24 }, [setMinimalShellMode]), 25 ) 26 27 return ( 28 <View style={{flex: 1}}> 29 <ViewHeader title={_(msg`Liked By`)} /> 30 <LikedByList uri={uri} /> 31 </View> 32 ) 33}