Page MenuHomePhabricator

[native] Consume `useNativeUpdateThreadImageAvatar` in `useSelectFromGalleryAndUpdateImageAvatar`
ClosedPublic

Authored by atul on Aug 5 2023, 8:36 PM.
Tags
None
Referenced Files
F3628490: D8741.id29565.diff
Thu, Jan 2, 7:34 PM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:09 AM
Unknown Object (File)
Mon, Dec 30, 1:25 PM
Unknown Object (File)
Mon, Dec 9, 2:02 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable