HomePhabricator
Diffusion Comm 45d2bc435f8a

[native] Pull `useShowAvatarActionSheet` out of `Edit*Avatar`

Description

[native] Pull useShowAvatarActionSheet out of Edit*Avatar

Summary:
Pulling out some more logic that's in common between EditUserAvatar and EditThreadAvatar.

NOTE: One more quick refactor to tidy up editAvatarOptions and then we're gooing to move UserAvatar and ThreadAvatar "inside" Edit*Avatar components instead of just passing in React.Node.

Test Plan: Action sheet appears as it did previously + ESLint + Flow

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
atulAuthored on Apr 18 2023, 2:30 PM
Reviewer
ashoat
Differential Revision
D7506: [native] Pull `useShowAvatarActionSheet` out of `Edit*Avatar`
Parents
rCOMM5e6d644ffd3e: [native] Put Calendar tab after Inbox
Branches
Unknown
Tags
Unknown