Page MenuHomePhabricator

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

Authored by atul on Jun 27 2023, 2:54 PM.
Tags
None
Referenced Files
F5901256: D8342.id28195.diff
Thu, Apr 17, 12:38 PM
F5894981: D8342.id.diff
Thu, Apr 17, 10:37 AM
F5892644: D8342.id29200.diff
Thu, Apr 17, 8:20 AM
Unknown Object (File)
Wed, Apr 16, 9:58 PM
Unknown Object (File)
Wed, Apr 16, 1:43 PM
Unknown Object (File)
Wed, Mar 26, 7:55 AM
Unknown Object (File)
Mar 15 2025, 2:33 PM
Unknown Object (File)
Mar 15 2025, 2:33 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.