Page MenuHomePhabricator

[native] Get rid of null check in `useUploadSelectedMedia`
ClosedPublic

Authored by atul on May 2 2023, 12:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 29 2024, 6:31 PM
Unknown Object (File)
Oct 28 2024, 10:23 AM
Unknown Object (File)
Oct 28 2024, 10:23 AM
Unknown Object (File)
Oct 28 2024, 10:23 AM
Unknown Object (File)
Oct 28 2024, 10:23 AM
Unknown Object (File)
Oct 28 2024, 10:21 AM
Unknown Object (File)
Oct 24 2024, 7:29 AM
Unknown Object (File)
Oct 2 2024, 2:41 PM
Subscribers

Details

Summary

We moved handling of null selection "out" to the callsite. This is no longer necessary.

Test Plan

Open image gallery via EditAvatar and then dismiss it and observe that we return before reaching useUploadSelectedMedia. Also flow.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable