diff --git a/native/navigation/route-names.js b/native/navigation/route-names.js
--- a/native/navigation/route-names.js
+++ b/native/navigation/route-names.js
@@ -80,6 +80,7 @@
export const ImagePasteModalRouteName = 'ImagePasteModal';
export const InviteLinkModalRouteName = 'InviteLinkModal';
export const InviteLinkNavigatorRouteName = 'InviteLinkNavigator';
+export const LinkedDevicesRouteName = 'LinkedDevices';
export const LoggedOutModalRouteName = 'LoggedOutModal';
export const ManagePublicLinkRouteName = 'ManagePublicLink';
export const MessageListRouteName = 'MessageList';
@@ -215,6 +216,7 @@
+DefaultNotifications: void,
+FriendList: void,
+BlockList: void,
+ +LinkedDevices: void,
};
export type CommunityDrawerParamList = { +TabNavigator: void };
diff --git a/native/profile/linked-devices.react.js b/native/profile/linked-devices.react.js
new file mode 100644
--- /dev/null
+++ b/native/profile/linked-devices.react.js
@@ -0,0 +1,9 @@
+// @flow
+import * as React from 'react';
+
+// eslint-disable-next-line no-unused-vars
+function LinkedDevices(props: { ... }): React.Node {
+ return null;
+}
+
+export default LinkedDevices;
diff --git a/native/profile/profile-screen.react.js b/native/profile/profile-screen.react.js
--- a/native/profile/profile-screen.react.js
+++ b/native/profile/profile-screen.react.js
@@ -35,6 +35,7 @@
BlockListRouteName,
PrivacyPreferencesRouteName,
DefaultNotificationsPreferencesRouteName,
+ LinkedDevicesRouteName,
} from '../navigation/route-names.js';
import { useSelector } from '../redux/redux-utils.js';
import { type Colors, useColors, useStyles } from '../themes/colors.js';
@@ -120,6 +121,13 @@
);
}
+ let linkedDevices;
+ if (__DEV__) {
+ linkedDevices = (
+
+ );
+ }
+
return (
+ {linkedDevices}
{developerTools}
@@ -261,6 +270,10 @@
this.navigateIfActive(DeleteAccountRouteName);
};
+ onPressDevices = () => {
+ this.navigateIfActive(LinkedDevicesRouteName);
+ };
+
onPressBuildInfo = () => {
this.navigateIfActive(BuildInfoRouteName);
};
diff --git a/native/profile/profile.react.js b/native/profile/profile.react.js
--- a/native/profile/profile.react.js
+++ b/native/profile/profile.react.js
@@ -16,6 +16,7 @@
import DevTools from './dev-tools.react.js';
import EditPassword from './edit-password.react.js';
import EmojiUserAvatarCreation from './emoji-user-avatar-creation.react.js';
+import LinkedDevices from './linked-devices.react.js';
import PrivacyPreferences from './privacy-preferences.react.js';
import ProfileHeader from './profile-header.react.js';
import ProfileScreen from './profile-screen.react.js';
@@ -36,6 +37,7 @@
FriendListRouteName,
DefaultNotificationsPreferencesRouteName,
BlockListRouteName,
+ LinkedDevicesRouteName,
type ScreenParamList,
type ProfileParamList,
} from '../navigation/route-names.js';
@@ -49,6 +51,7 @@
};
const editPasswordOptions = { headerTitle: 'Change password' };
const deleteAccountOptions = { headerTitle: 'Delete account' };
+const linkedDevicesOptions = { headerTitle: 'Linked devices' };
const buildInfoOptions = { headerTitle: 'Build info' };
const devToolsOptions = { headerTitle: 'Developer tools' };
const appearanceOptions = { headerTitle: 'Appearance' };
@@ -129,6 +132,11 @@
component={DeleteAccount}
options={deleteAccountOptions}
/>
+