Adds menu item to EditUserAvatarMenu to allow SIWE accounts to set ENS avatar.
Details
Details
comm.eth account can set ENS avatar:
atul account cannot set ENS avatar:
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
accepting but please address comment inline before landing
web/avatars/edit-user-avatar-menu.react.js | ||
---|---|---|
120–125 ↗ | (On Diff #29471) | I would personally prefer if instead of this ternary expression, we implemented menuItems by pushing the menu items into a "results" array based off condition like we did in native: https://github.com/CommE2E/comm/blob/master/native/avatars/edit-user-avatar.react.js#L89C3-L113C6 |
web/avatars/edit-user-avatar-menu.react.js | ||
---|---|---|
125–127 ↗ | (On Diff #29496) | Personally would strongly prefer if "Reset to default" was always visible (grayed out if anything), but I'll match native for consistency. |