diff options
author | Hailey <me@haileyok.com> | 2024-08-01 10:32:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-01 10:32:36 -0700 |
commit | f056cb646e22d350bda79be8e8bfe808307e6516 (patch) | |
tree | c597a7f8c86a710307c17cc20a0e9e4afdb17aa9 /src/view/screens/ProfileFeedLikedBy.tsx | |
parent | c78e9e31472af42a7920af18186f9ae499595100 (diff) | |
download | voidsky-f056cb646e22d350bda79be8e8bfe808307e6516.tar.zst |
Fix missing header on Likes/Reposted By, add missing perf optimizations (#4867)
* fix liked by list * fix lists * tweaks to style * change string
Diffstat (limited to 'src/view/screens/ProfileFeedLikedBy.tsx')
-rw-r--r-- | src/view/screens/ProfileFeedLikedBy.tsx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/view/screens/ProfileFeedLikedBy.tsx b/src/view/screens/ProfileFeedLikedBy.tsx index b1bcf48ba..bb9ec2bae 100644 --- a/src/view/screens/ProfileFeedLikedBy.tsx +++ b/src/view/screens/ProfileFeedLikedBy.tsx @@ -1,13 +1,14 @@ import React from 'react' import {View} from 'react-native' +import {msg} from '@lingui/macro' +import {useLingui} from '@lingui/react' import {useFocusEffect} from '@react-navigation/native' -import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types' -import {ViewHeader} from '../com/util/ViewHeader' -import {PostLikedBy as PostLikedByComponent} from '../com/post-thread/PostLikedBy' -import {makeRecordUri} from 'lib/strings/url-helpers' + import {useSetMinimalShellMode} from '#/state/shell' -import {useLingui} from '@lingui/react' -import {msg} from '@lingui/macro' +import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types' +import {makeRecordUri} from 'lib/strings/url-helpers' +import {PostLikedBy as PostLikedByComponent} from '../com/post-thread/PostLikedBy' +import {ViewHeader} from '../com/util/ViewHeader' type Props = NativeStackScreenProps<CommonNavigatorParams, 'ProfileFeedLikedBy'> export const ProfileFeedLikedByScreen = ({route}: Props) => { @@ -23,7 +24,7 @@ export const ProfileFeedLikedByScreen = ({route}: Props) => { ) return ( - <View> + <View style={{flex: 1}}> <ViewHeader title={_(msg`Liked By`)} /> <PostLikedByComponent uri={uri} /> </View> |