Page MenuHomePhabricator

[native] move selectFromGalleryAndUpdateThreadAvatar to edit thread avatar provider
ClosedPublic

Authored by ginsu on Apr 28 2023, 12:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 11:07 PM
Unknown Object (File)
Sat, Dec 28, 11:04 PM
Unknown Object (File)
Sat, Dec 28, 10:31 PM
Unknown Object (File)
Sat, Dec 28, 8:10 AM
Unknown Object (File)
Tue, Dec 3, 8:37 PM
Unknown Object (File)
Tue, Dec 3, 8:37 PM
Unknown Object (File)
Nov 25 2024, 8:56 PM
Unknown Object (File)
Nov 25 2024, 8:56 PM
Subscribers

Details

Summary

This diff breaks down D7643. This diff is simply now a move diff with one very minor change and is something I will annotate in the code below

Test Plan

I am able to set a thread image avatar with the expected behavior

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

native/avatars/edit-thread-avatar-provider.react.js
87

This was added and is used for the updated customKey below to make sure that the customKey does not exceed 80 char

100

The threadID was added in the custom key to make sure that updateThreadAvatarLoadingStatus worked as expected

This revision is now accepted and ready to land.Apr 28 2023, 2:01 PM