Page MenuHomePhabricator

[lib][native] Remove `displayFailureAlert` prop from `*EditUserAvatarProvider`
ClosedPublic

Authored by atul on Jun 27 2023, 2:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 3:37 AM
Unknown Object (File)
Fri, Nov 1, 5:32 PM
Unknown Object (File)
Sun, Oct 27, 10:13 AM
Unknown Object (File)
Oct 12 2024, 2:12 PM
Unknown Object (File)
Oct 12 2024, 11:28 AM
Unknown Object (File)
Oct 12 2024, 6:51 AM
Unknown Object (File)
Oct 8 2024, 11:09 AM
Unknown Object (File)
Oct 7 2024, 1:41 PM
Subscribers

Details

Summary

As of D8341 we no longer use or need this prop. Surfacing of errors is handled by platform-specific code for consistency.

Now we just need to get rid of useUploadSelectedMedia and we can consolidate NativeEditUserAvatarProvider, WebEditUserAvatarProvider, and BaseEditUserAvatarProvider into a single platform-agnostic EditUserAvatarProvider.


Depends on D8341

Test Plan

NA/flow/eslint

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D8342 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Jun 27 2023, 2:55 PM

On second thought, this totally could've been squashed with D8341

This revision is now accepted and ready to land.Jun 28 2023, 5:56 PM
This revision was landed with ongoing or failed builds.Jul 28 2023, 12:59 PM
This revision was automatically updated to reflect the committed changes.