diff --git a/src/Navigation.tsx b/src/Navigation.tsx index fa33a9d56..13af087c2 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -62,6 +62,7 @@ import {NotFoundScreen} from '#/view/screens/NotFound' import {NotificationsScreen} from '#/view/screens/Notifications' import {PostThreadScreen} from '#/view/screens/PostThread' import {PrivacyPolicyScreen} from '#/view/screens/PrivacyPolicy' +import {LicenseScreen} from '#/view/screens/License' import {ProfileScreen} from '#/view/screens/Profile' import {ProfileFeedLikedByScreen} from '#/view/screens/ProfileFeedLikedBy' import {Storybook} from '#/view/screens/Storybook' @@ -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/routes.ts b/src/routes.ts index 1ed913bb2..aa6fccc4e 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -47,6 +47,7 @@ export const router = new Router({ Support: '/support', PrivacyPolicy: 'https://syu.is/about/support/privacy-policy', TermsOfService: 'https://syu.is/about/support/tos', + License: '/support/license', CommunityGuidelines: '/support/community-guidelines', CopyrightPolicy: '/support/copyright',