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)
Mon, Dec 9, 4:26 AM
Unknown Object (File)
Thu, Dec 5, 3:38 PM
Unknown Object (File)
Wed, Dec 4, 5:21 AM
Unknown Object (File)
Sat, Nov 30, 11:06 AM
Unknown Object (File)
Sat, Nov 23, 2:24 PM
Unknown Object (File)
Sat, Nov 23, 1:19 PM
Unknown Object (File)
Sat, Nov 23, 1:19 PM
Unknown Object (File)
Nov 20 2024, 5:45 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
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.