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 sys-log 33 lines 1.1 kB view raw
1import React from 'react' 2import {msg} from '@lingui/macro' 3import {useLingui} from '@lingui/react' 4import {useFocusEffect} from '@react-navigation/native' 5 6import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' 7import {makeRecordUri} from '#/lib/strings/url-helpers' 8import {useSetMinimalShellMode} from '#/state/shell' 9import {ViewHeader} from '#/view/com/util/ViewHeader' 10import * as Layout from '#/components/Layout' 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 <Layout.Screen> 29 <ViewHeader title={_(msg`Liked By`)} /> 30 <LikedByList uri={uri} /> 31 </Layout.Screen> 32 ) 33}