We introduce the useRemoveUserAvatar hook so we can unset the user avatar. Will introduce something similar for threads momentarily.
Depends on D7511
Paths
| Differential D7512 Authored by atul on Apr 18 2023, 7:48 PM.
Details
Summary We introduce the useRemoveUserAvatar hook so we can unset the user avatar. Will introduce something similar for threads momentarily. Depends on D7511 Test Plan Able to clear user avatar:
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptApr 18 2023, 7:48 PM2023-04-18 19:48:03 (UTC-7) atul added a parent revision: D7511: [native] Introduce naive `useSelectFromGalleryAndUpdateThreadAvatar` hook.
atul attached a referenced file: F494908: Screenshot_1681873252.png. (Show Details)Apr 18 2023, 8:01 PM2023-04-18 20:01:50 (UTC-7) Harbormaster completed remote builds in B18489: Diff 25320.Apr 18 2023, 8:05 PM2023-04-18 20:05:36 (UTC-7) This revision is now accepted and ready to land.Apr 19 2023, 6:20 AM2023-04-19 06:20:30 (UTC-7) Closed by commit rCOMM683fb7914ed5: [native] Introduce `useRemoveUserAvatar` hook (authored by atul). · Explain WhyApr 19 2023, 9:28 AM2023-04-19 09:28:57 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 25359 native/avatars/avatar-hooks.js
native/avatars/edit-user-avatar.react.js
|