Page MenuHomePhabricator

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

Authored by atul on Aug 5 2023, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 10:53 AM
Unknown Object (File)
Mon, Jan 6, 10:32 PM
Unknown Object (File)
Mon, Jan 6, 10:28 PM
Unknown Object (File)
Mon, Jan 6, 10:01 PM
Unknown Object (File)
Sun, Jan 5, 1:52 PM
Unknown Object (File)
Sun, Jan 5, 5:52 AM
Unknown Object (File)
Thu, Jan 2, 7:34 PM
Unknown Object (File)
Tue, Dec 31, 12:17 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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage