Page MenuHomePhabricator

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

Authored by atul on Jun 27 2023, 2:54 PM.
Tags
None
Referenced Files
F2143312: D8342.id29199.diff
Sat, Jun 29, 4:17 PM
Unknown Object (File)
Tue, Jun 25, 3:40 PM
Unknown Object (File)
Tue, Jun 25, 7:55 AM
Unknown Object (File)
Mon, Jun 24, 2:48 PM
Unknown Object (File)
Wed, Jun 12, 1:28 PM
Unknown Object (File)
Wed, Jun 12, 8:56 AM
Unknown Object (File)
Sat, Jun 8, 1:15 AM
Unknown Object (File)
Thu, Jun 6, 8:18 AM
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.