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
F3407653: D7703.id26014.diff
Wed, Dec 4, 7:11 AM
F3407622: D7703.id26041.diff
Wed, Dec 4, 7:04 AM
F3405274: D7703.diff
Tue, Dec 3, 7:43 PM
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
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
Branch
arcpatch-D7700 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage