44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
|
|
index fde223bd0..0e57c27a6 100644
|
|
--- a/src/Navigation.tsx
|
|
+++ b/src/Navigation.tsx
|
|
@@ -66,6 +66,8 @@ 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 {AppInfoScreen} from '#/view/screens/AppInfo'
|
|
import {ProfileScreen} from '#/view/screens/Profile'
|
|
import {ProfileFeedLikedByScreen} from '#/view/screens/ProfileFeedLikedBy'
|
|
import {StorybookScreen} from '#/view/screens/Storybook'
|
|
@@ -337,6 +339,16 @@ function commonScreens(Stack: typeof Flat, unreadCountLabel?: string) {
|
|
getComponent={() => TermsOfServiceScreen}
|
|
options={{title: title(msg`Terms of Service`)}}
|
|
/>
|
|
+ <Stack.Screen
|
|
+ name="License"
|
|
+ getComponent={() => LicenseScreen}
|
|
+ options={{title: title(msg`License`)}}
|
|
+ />
|
|
+ <Stack.Screen
|
|
+ name="AppInfo"
|
|
+ getComponent={() => AppInfoScreen}
|
|
+ options={{title: title(msg`App Info`)}}
|
|
+ />
|
|
<Stack.Screen
|
|
name="CommunityGuidelines"
|
|
getComponent={() => CommunityGuidelinesScreen}
|
|
diff --git a/src/lib/routes/types.ts b/src/lib/routes/types.ts
|
|
index 0a3a0d545..ec6c43ff5 100644
|
|
--- a/src/lib/routes/types.ts
|
|
+++ b/src/lib/routes/types.ts
|
|
@@ -39,6 +39,8 @@ export type CommonNavigatorParams = {
|
|
Support: undefined
|
|
PrivacyPolicy: undefined
|
|
TermsOfService: undefined
|
|
+ License: undefined
|
|
+ AppInfo: undefined
|
|
CommunityGuidelines: undefined
|
|
CopyrightPolicy: undefined
|
|
LanguageSettings: undefined
|