HomePhabricator
Diffusion Comm 1d1b8b10d933

[native] introduce use ENS avatar to edit user avatar

Description

[native] introduce use ENS avatar to edit user avatar

Summary:
Add use ens avatar to the edit user avatar action sheet. This diff also introduces useENSUserAvatar to avatar-hooks which handles the logic for saving the ens avatar into our db.

I am aware I wrote useENSUserAvatar with a bit of a naive approach, but I think the goal should be to get things working first so we can get something shipped, then make things more elegant.

Test Plan: Followed the test plan from D7462 and was able to get all the same behavoir/results

Reviewers: ashoat, atul

Reviewed By: ashoat

Subscribers: ashoat, tomek, atul

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

Details

Provenance
ginsuAuthored on Apr 19 2023, 3:12 PM
Reviewer
ashoat
Differential Revision
D7546: [native] introduce use ENS avatar to edit user avatar
Parents
rCOMM040694b61c0b: [native] Alert user when `UPDATE_USER_AVATAR` call fails
Branches
Unknown
Tags
Unknown