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
F2193479: D7684.diff
Thu, Jul 4, 10:17 PM
F2191379: D7684.id25922.diff
Thu, Jul 4, 3:21 PM
Unknown Object (File)
Tue, Jul 2, 3:05 AM
Unknown Object (File)
Mon, Jul 1, 5:33 PM
Unknown Object (File)
Sun, Jun 30, 6:40 PM
Unknown Object (File)
Sat, Jun 29, 3:38 PM
Unknown Object (File)
Fri, Jun 28, 3:03 AM
Unknown Object (File)
Thu, Jun 27, 6:39 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