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)
Sun, Jan 5, 4:43 PM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
Unknown Object (File)
Tue, Dec 31, 12:16 AM
Unknown Object (File)
Tue, Dec 31, 12:09 AM
Unknown Object (File)
Mon, Dec 23, 4:18 AM
Unknown Object (File)
Mon, Dec 23, 3:31 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
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.