HomePhabricator
Diffusion Comm 39cda6c1f115

[native] flip farcaster prompt based on fid prop instead of context

Description

[native] flip farcaster prompt based on fid prop instead of context

Summary:
When reusing the FarcasterPrompt component in the connect farcaster bottom sheet I run into the issue that when the bottom sheet closes the FarcasterPrompt displays the disconnected text since the fid is now set. To give me more control of when the FarcasterPrompt displays the disconnect text I changed the condition to be based on a prop rather than the context

Depends on D11561

Test Plan: Confirmed that the FarcasterPrompt component has no regressions in the registration flow + farcaster account settings + connect farcaster bottom sheet

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11597

Details

Provenance
ginsuAuthored on Apr 5 2024, 12:32 PM
Reviewer
atul
Differential Revision
D11597: [native] flip farcaster prompt based on fid prop instead of context
Parents
rCOMM454ad49758a2: [web/native] improve rendering Tunnelbroker messages
Branches
Unknown
Tags
Unknown