Page MenuHomePhabricator

[native] Replace setENSUserAvatar and removeUserAvatar with generic setUserAvatar
ClosedPublic

Authored by ashoat on May 29 2023, 5:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 7:46 PM
Unknown Object (File)
Sun, Nov 10, 1:59 PM
Unknown Object (File)
Oct 31 2024, 5:13 PM
Unknown Object (File)
Oct 27 2024, 8:19 AM
Unknown Object (File)
Oct 22 2024, 2:57 PM
Unknown Object (File)
Oct 18 2024, 9:43 PM
Unknown Object (File)
Oct 18 2024, 9:43 PM
Unknown Object (File)
Oct 18 2024, 9:43 PM
Subscribers

Details

Summary

I have two goals here:

  1. Simplify the code
  2. Open a generic pathway for EmojiUserAvatarCreation to use the EditUserAvatarProvider, so that every place is going through it. I want to unify all pathways through EditUserAvatarProvider so I can override what happens when an avatar is selected, so that I can maximize code reuse in the registration flow
Test Plan

Test clearing user avatar via iOS simulator

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Make setUserAvatar return Promise<void> so that it can be used in the registration flow with the expectation that it calls the keyserver

This revision is now accepted and ready to land.May 30 2023, 9:12 AM