HomePhabricator
Diffusion Comm f5969fd86183

[native] Replace removeThreadAvatar with generic setThreadAvatar

Description

[native] Replace removeThreadAvatar with generic setThreadAvatar

Summary:
Decided to do the same thing for thread avatars here as I did for user avatars in D8017. It's good to unify codepaths, and this diff will allow me to deprecate useSaveThreadAvatar in the next diff, replacing it with the shared utilities in EditThreadAvatarProvider.

Depends on D8019

Test Plan: Test clearing thread avatar via iOS simulator

Reviewers: ginsu, atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on May 29 2023, 5:57 PM
Reviewer
atul
Differential Revision
D8020: [native] Replace removeThreadAvatar with generic setThreadAvatar
Parents
rCOMM649d3964fd77: [native] Use Alert from old useSaveUserAvatar in new setUserAvatar
Branches
Unknown
Tags
Unknown