HomePhabricator
Diffusion Comm 77ddd5a08fb9

[native] Consume `useNativeUpdateThreadImageAvatar` in…

Description

[native] Consume useNativeUpdateThreadImageAvatar in useSelectFromGalleryAndUpdateImageAvatar

Summary:
Consume platform-specific nativeUpdateThreadAvatar instead of "base" updateThreadAvatar in useSelectFromGalleryAndUpdateImageAvatar.

Depends on D8740

NOTE: This is the `thread avatar version" of D8340. Probably could've been merged with D8740, but matching what I did for user avatars.

Test Plan: Ensure that selectFromGalleryAndUpdateThreadAvatar continues to work as expected. Break endpoint and ensure that platform-specific alert appears.

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

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