diff options
Diffstat (limited to 'src/screens/Post/PostQuotes.tsx')
-rw-r--r-- | src/screens/Post/PostQuotes.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/screens/Post/PostQuotes.tsx b/src/screens/Post/PostQuotes.tsx index 0d59418f1..71dd8ad8d 100644 --- a/src/screens/Post/PostQuotes.tsx +++ b/src/screens/Post/PostQuotes.tsx @@ -5,12 +5,12 @@ import {useFocusEffect} from '@react-navigation/native' import {CommonNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' import {makeRecordUri} from '#/lib/strings/url-helpers' +import {isWeb} from '#/platform/detection' 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 {CenteredView} from '#/view/com/util/Views' +import * as Layout from '#/components/Layout' import {ListHeaderDesktop} from '#/components/Lists' type Props = NativeStackScreenProps<CommonNavigatorParams, 'PostQuotes'> @@ -27,10 +27,12 @@ export const PostQuotesScreen = ({route}: Props) => { ) return ( - <CenteredView style={a.util_screen_outer} sideBorders={true}> - <ListHeaderDesktop title={_(msg`Quotes`)} /> - <ViewHeader title={_(msg`Quotes`)} showBorder={!isWeb} /> - <PostQuotesComponent uri={uri} /> - </CenteredView> + <Layout.Screen> + <CenteredView sideBorders={true}> + <ListHeaderDesktop title={_(msg`Quotes`)} /> + <ViewHeader title={_(msg`Quotes`)} showBorder={!isWeb} /> + <PostQuotesComponent uri={uri} /> + </CenteredView> + </Layout.Screen> ) } |