Page MenuHomePhabricator

D11785.id39675.diff
No OneTemporary

D11785.id39675.diff

diff --git a/native/community-settings/tag-farcaster-channel/tag-farcaster-channel.react.js b/native/community-settings/tag-farcaster-channel/tag-farcaster-channel.react.js
--- a/native/community-settings/tag-farcaster-channel/tag-farcaster-channel.react.js
+++ b/native/community-settings/tag-farcaster-channel/tag-farcaster-channel.react.js
@@ -16,6 +16,10 @@
import { useSelector } from '../../redux/redux-utils.js';
import { useStyles, useColors } from '../../themes/colors.js';
+export type TagFarcasterChannelParams = {
+ +communityID: string,
+};
+
type Props = {
+navigation: TagFarcasterChannelNavigationProp<'TagFarcasterChannel'>,
+route: NavigationRoute<'TagFarcasterChannel'>,
diff --git a/native/components/community-actions-button.react.js b/native/components/community-actions-button.react.js
--- a/native/components/community-actions-button.react.js
+++ b/native/components/community-actions-button.react.js
@@ -75,9 +75,12 @@
TagFarcasterChannelNavigatorRouteName,
{
screen: TagFarcasterChannelRouteName,
+ params: {
+ communityID: community.id,
+ },
},
);
- }, [navigate]);
+ }, [community.id, navigate]);
const insets = useSafeAreaInsets();
const activeTheme = useSelector(state => state.globalThemeInfo.activeTheme);
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
@@ -36,6 +36,7 @@
import type { TextMessageTooltipModalParams } from '../chat/text-message-tooltip-modal.react.js';
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 { 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';
@@ -296,7 +297,7 @@
};
export type TagFarcasterChannelParamList = {
- +TagFarcasterChannel: void,
+ +TagFarcasterChannel: TagFarcasterChannelParams,
};
export type QRCodeSignInParamList = {

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 4:25 PM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2820138
Default Alt Text
D11785.id39675.diff (2 KB)

Event Timeline