HomePhabricator
Diffusion Comm db1e95229675

[lib] Rename `setUserAvatar` to `baseSetUserAvatar` in `*EditUserAvatarProvider`

Tags
None
Referenced Files
F610023: 541bc9.png
Jul 28 2023, 1:47 PM
File Not Attached
Subscribers
None

Description

[lib] Rename setUserAvatar to baseSetUserAvatar in *EditUserAvatarProvider

Summary:
We want devs to to use the platform-specific setUserAvatar wrappers rather than interfacing with setUserAvatar directly... so renaming setUserAvatar to baseSetUserAvatar to make that more clear.

Also left a comment annotating the function, which at least in my editor shows a note on hover/when cursor is focused:

541bc9.png (318×1 px, 94 KB)


Depends on D8343

Test Plan: flow/eslint/searched codebase for "setUserAvatar".

Reviewers: ashoat, ginsu, rohan

Reviewed By: rohan

Subscribers: tomek

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

Details