diff --git a/src/Navigation.tsx b/src/Navigation.tsx index d6726241a..d2cb58fe2 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -53,6 +53,7 @@ import {CopyrightPolicyScreen} from '#/view/screens/CopyrightPolicy' import {DebugModScreen} from '#/view/screens/DebugMod' import {FeedsScreen} from '#/view/screens/Feeds' import {HomeScreen} from '#/view/screens/Home' +import {LicenseScreen} from '#/view/screens/License' import {ListsScreen} from '#/view/screens/Lists' import {ModerationBlockedAccounts} from '#/view/screens/ModerationBlockedAccounts' import {ModerationModlistsScreen} from '#/view/screens/ModerationModlists' @@ -326,6 +327,11 @@ function commonScreens(Stack: typeof Flat, unreadCountLabel?: string) { SupportScreen} options={{title: title(msg`Support`)}} /> + LicenseScreen} + options={{title: title(msg`License`)}} + /> PrivacyPolicyScreen} diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts index eab4db0e6..31ba19b80 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 fc48add49..fa1c0c21e 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -73,6 +73,7 @@ export const router = new Router({ Support: '/support', PrivacyPolicy: 'https://syu.is/about/support/privacy-policy', TermsOfService: 'https://syu.is/about/support/tos', + License: '/settings/about/license', CommunityGuidelines: '/support/community-guidelines', CopyrightPolicy: '/support/copyright', // hashtags