diff --git a/src/Navigation.tsx b/src/Navigation.tsx index fa33a9d56..a9b724c4e 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -67,6 +67,7 @@ import {ProfileFeedLikedByScreen} from '#/view/screens/ProfileFeedLikedBy' import {Storybook} from '#/view/screens/Storybook' import {SupportScreen} from '#/view/screens/Support' import {TermsOfServiceScreen} from '#/view/screens/TermsOfService' +import {LicenseScreen} from '#/view/screens/License' import {BottomBar} from '#/view/shell/bottom-bar/BottomBar' import {createNativeStackNavigatorWithAuth} from '#/view/shell/createNativeStackNavigatorWithAuth' import {BookmarksScreen} from '#/screens/Bookmarks' @@ -335,6 +336,11 @@ function commonScreens(Stack: typeof Flat, unreadCountLabel?: string) { getComponent={() => TermsOfServiceScreen} options={{title: title(msg`Terms of Service`)}} /> + LicenseScreen} + options={{title: title(msg`License`)}} + /> CommunityGuidelinesScreen} diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts index c315a8341..9b2f50a83 100644 --- a/src/lib/routes/types.ts +++ b/src/lib/routes/types.ts @@ -39,6 +39,7 @@ export type CommonNavigatorParams = { Support: undefined PrivacyPolicy: undefined TermsOfService: undefined + License: undefined CommunityGuidelines: undefined CopyrightPolicy: undefined LanguageSettings: undefined diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index ed2a6cfb7..0b429e6f3 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -460,6 +460,11 @@ function ExtraLinks() { Privacy Policy + navigation.navigate('License')}> + + License + + ) }