HomePhabricator
Diffusion Comm febd68fc0df8

[lib] introduce getEthAddressForUserInfo helper function

Description

[lib] introduce getEthAddressForUserInfo helper function

Summary:
As I was attempting to introduce the use ens avatar option into EditAvatar I found that I needed the ethAddress again so I created this small helper function to reduce redundancy with this logic

Depends on D7460

Test Plan: flow and everything behaves as expected

Reviewers: ashoat, atul

Reviewed By: ashoat

Subscribers: ashoat, tomek, atul

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

Details

Provenance
ginsuAuthored on Apr 17 2023, 11:51 AM
Reviewer
ashoat
Differential Revision
D7461: [lib] introduce getEthAddressForUserInfo helper function
Parents
rCOMM8fb4e45445b1: [native] update save avatar hooks to accept all types of avatars
Branches
Unknown
Tags
Unknown