diff options
Diffstat (limited to 'src/screens/Post/PostQuotes.tsx')
-rw-r--r-- | src/screens/Post/PostQuotes.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/screens/Post/PostQuotes.tsx b/src/screens/Post/PostQuotes.tsx index d670f3215..4a06639fc 100644 --- a/src/screens/Post/PostQuotes.tsx +++ b/src/screens/Post/PostQuotes.tsx @@ -1,5 +1,4 @@ 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' @@ -7,9 +6,12 @@ import {useFocusEffect} from '@react-navigation/native' import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' import {makeRecordUri} from '#/lib/strings/url-helpers' import {useSetMinimalShellMode} from '#/state/shell' +import {isWeb} from 'platform/detection' import {PostQuotes as PostQuotesComponent} from '#/view/com/post-thread/PostQuotes' import {ViewHeader} from '#/view/com/util/ViewHeader' +import {CenteredView} from 'view/com/util/Views' import {atoms as a} from '#/alf' +import {ListHeaderDesktop} from '#/components/Lists' type Props = NativeStackScreenProps<CommonNavigatorParams, 'PostQuotes'> export const PostQuotesScreen = ({route}: Props) => { @@ -25,9 +27,10 @@ export const PostQuotesScreen = ({route}: Props) => { ) return ( - <View style={a.flex_1}> - <ViewHeader title={_(msg`Quotes`)} /> + <CenteredView style={a.h_full_vh} sideBorders={true}> + <ListHeaderDesktop title={_(msg`Quotes`)} /> + <ViewHeader title={_(msg`Quotes`)} showBorder={!isWeb} /> <PostQuotesComponent uri={uri} /> - </View> + </CenteredView> ) } |