diff --git a/native/account/registration/connect-farcaster.react.js b/native/account/registration/connect-farcaster.react.js
--- a/native/account/registration/connect-farcaster.react.js
+++ b/native/account/registration/connect-farcaster.react.js
@@ -22,6 +22,7 @@
ConnectEthereumRouteName,
AvatarSelectionRouteName,
} from '../../navigation/route-names.js';
+import { useStaffCanSee } from '../../utils/staff-utils.js';
export type ConnectFarcasterParams = ?{
+userSelections?: {
@@ -183,11 +184,26 @@
);
}, [alreadyHasConnected, onUseAlreadyConnectedAccount]);
+ const staffCanSee = useStaffCanSee();
+ const farcasterPromptTextType = staffCanSee ? 'optional' : 'required';
+ const skipButton = React.useMemo(() => {
+ if (!staffCanSee) {
+ return undefined;
+ }
+ return (
+
+ );
+ }, [staffCanSee, onSkip]);
+
const connectFarcaster = React.useMemo(
() => (
-
+
@@ -197,11 +213,7 @@
label={connectButtonText}
variant={connectButtonVariant}
/>
-
+ {skipButton}
),
@@ -210,9 +222,10 @@
connectButtonText,
connectButtonVariant,
onPressConnectFarcaster,
- onSkip,
onSuccess,
webViewState,
+ farcasterPromptTextType,
+ skipButton,
],
);
diff --git a/native/components/connect-farcaster-bottom-sheet.react.js b/native/components/connect-farcaster-bottom-sheet.react.js
--- a/native/components/connect-farcaster-bottom-sheet.react.js
+++ b/native/components/connect-farcaster-bottom-sheet.react.js
@@ -94,7 +94,7 @@
-
+
(
<>
diff --git a/native/profile/farcaster-account-settings.react.js b/native/profile/farcaster-account-settings.react.js
--- a/native/profile/farcaster-account-settings.react.js
+++ b/native/profile/farcaster-account-settings.react.js
@@ -85,11 +85,12 @@
);
}, [connectButtonVariant, fid, onPressConnectFarcaster, onPressDisconnect]);
+ const farcasterPromptTextType = fid ? 'disconnect' : 'optional';
const farcasterAccountSettings = React.useMemo(
() => (
-
+
{button}
@@ -97,7 +98,7 @@
),
[
button,
- fid,
+ farcasterPromptTextType,
onSuccess,
styles.buttonContainer,
styles.connectContainer,