Page MenuHomePhorge

D11855.1768549586.diff
No OneTemporary

Size
4 KB
Referenced Files
None
Subscribers
None

D11855.1768549586.diff

diff --git a/native/community-settings/tag-farcaster-channel/tag-farcaster-channel-navigator.react.js b/native/community-settings/tag-farcaster-channel/tag-farcaster-channel-navigator.react.js
--- a/native/community-settings/tag-farcaster-channel/tag-farcaster-channel-navigator.react.js
+++ b/native/community-settings/tag-farcaster-channel/tag-farcaster-channel-navigator.react.js
@@ -9,9 +9,11 @@
import { SafeAreaView } from 'react-native-safe-area-context';
import TagFarcasterChannel from './tag-farcaster-channel.react.js';
+import TagUnfollowedFarcasterChannel from './tag-unfollowed-farcaster-channel.react.js';
import type { RootNavigationProp } from '../../navigation/root-navigator.react';
import {
TagFarcasterChannelRouteName,
+ TagUnfollowedFarcasterChannelRouteName,
type TagFarcasterChannelParamList,
type ScreenParamList,
} from '../../navigation/route-names.js';
@@ -29,10 +31,6 @@
StackNavigationHelpers<ScreenParamList>,
>();
-const tagFarcasterChannelOptions = {
- headerTitle: 'Tag a Farcaster channel',
-};
-
type Props = {
+navigation: RootNavigationProp<'TagFarcasterChannelNavigator'>,
...
@@ -54,6 +52,7 @@
headerStyle: {
backgroundColor: colors.modalBackground,
},
+ headerTitle: 'Tag a Farcaster channel',
}),
[colors.modalBackground, colors.panelForegroundLabel],
);
@@ -65,7 +64,10 @@
<TagFarcasterChannelStack.Screen
name={TagFarcasterChannelRouteName}
component={TagFarcasterChannel}
- options={tagFarcasterChannelOptions}
+ />
+ <TagFarcasterChannelStack.Screen
+ name={TagUnfollowedFarcasterChannelRouteName}
+ component={TagUnfollowedFarcasterChannel}
/>
</TagFarcasterChannelStack.Navigator>
</SafeAreaView>
diff --git a/native/community-settings/tag-farcaster-channel/tag-unfollowed-farcaster-channel.react.js b/native/community-settings/tag-farcaster-channel/tag-unfollowed-farcaster-channel.react.js
new file mode 100644
--- /dev/null
+++ b/native/community-settings/tag-farcaster-channel/tag-unfollowed-farcaster-channel.react.js
@@ -0,0 +1,22 @@
+// @flow
+
+import * as React from 'react';
+
+import type { TagFarcasterChannelNavigationProp } from './tag-farcaster-channel-navigator.react.js';
+import type { NavigationRoute } from '../../navigation/route-names.js';
+
+export type TagUnfollowedFarcasterChannelParams = {
+ +communityID: string,
+};
+
+type Props = {
+ +navigation: TagFarcasterChannelNavigationProp<'TagUnfollowedFarcasterChannel'>,
+ +route: NavigationRoute<'TagUnfollowedFarcasterChannel'>,
+};
+
+// eslint-disable-next-line no-unused-vars
+function TagUnfollowedFarcasterChannel(prop: Props): React.Node {
+ return null;
+}
+
+export default TagUnfollowedFarcasterChannel;
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
@@ -37,6 +37,7 @@
import type { TogglePinModalParams } from '../chat/toggle-pin-modal.react.js';
import type { CommunityCreationMembersScreenParams } from '../community-creation/community-creation-members.react.js';
import type { TagFarcasterChannelParams } from '../community-settings/tag-farcaster-channel/tag-farcaster-channel.react.js';
+import type { TagUnfollowedFarcasterChannelParams } from '../community-settings/tag-farcaster-channel/tag-unfollowed-farcaster-channel.react.js';
import type { ManagePublicLinkScreenParams } from '../invite-links/manage-public-link-screen.react.js';
import type { ViewInviteLinksScreenParams } from '../invite-links/view-invite-links-screen.react.js';
import type { ChatCameraModalParams } from '../media/chat-camera-modal.react.js';
@@ -159,6 +160,8 @@
export const TagFarcasterChannelNavigatorRouteName =
'TagFarcasterChannelNavigator';
export const TagFarcasterChannelRouteName = 'TagFarcasterChannel';
+export const TagUnfollowedFarcasterChannelRouteName =
+ 'TagUnfollowedFarcasterChannel';
export type RootParamList = {
+LoggedOutModal: void,
@@ -298,6 +301,7 @@
export type TagFarcasterChannelParamList = {
+TagFarcasterChannel: TagFarcasterChannelParams,
+ +TagUnfollowedFarcasterChannel: TagUnfollowedFarcasterChannelParams,
};
export type QRCodeSignInParamList = {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 16, 7:46 AM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5942788
Default Alt Text
D11855.1768549586.diff (4 KB)

Event Timeline