Skip to content

Commit

Permalink
feat: use fade animation on content layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Apr 20, 2024
1 parent 711b5ef commit c442d1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const tabScreenOptions = {
// Not really sure why, but rendering a Container with a top safe area seems to fix it
// Note: this adds a negligible amount of extra space above the header
header: () => <Container safeArea top style={{ backgroundColor: Colors.MainView }} />,
animation: 'fade',
} satisfies ComponentProps<typeof Stack>['screenOptions']

const RootLayout = () => (
Expand Down

0 comments on commit c442d1c

Please sign in to comment.