HomePhabricator
Diffusion Comm 6a02276242fd

[native] Rename callbacks in `InputStateContainer:uploadFile` for clarity

Description

[native] Rename callbacks in InputStateContainer:uploadFile for clarity

Summary:
The fail(...) and finish(...) naming was confusing both when defined and at callsites.

I think switching the naming to onUpload[Finished/Failed] makes things clearer.

Test Plan: This is a noop, no functional change.

Reviewers: abosh, varun, tomek, jacek

Reviewed By: abosh

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D4900

Details

Provenance
atulAuthored on Aug 22 2022, 3:25 PM
Reviewer
abosh
Differential Revision
D4900: [native] Rename callbacks in `InputStateContainer:uploadFile` for clarity
Parents
rCOMM75437d1e9f83: [native] added react-native-webview to support SIWE
Branches
Unknown
Tags
Unknown