Page MenuHomePhabricator

[native] Add some awaits in ChatInputBar.onSend
ClosedPublic

Authored by ashoat on Dec 4 2023, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 6:00 PM
Unknown Object (File)
Oct 21 2024, 3:30 AM
Unknown Object (File)
Oct 16 2024, 5:54 PM
Unknown Object (File)
Oct 16 2024, 5:54 PM
Unknown Object (File)
Oct 16 2024, 5:54 PM
Unknown Object (File)
Oct 16 2024, 5:53 PM
Unknown Object (File)
Oct 16 2024, 5:52 PM
Unknown Object (File)
Oct 7 2024, 9:35 AM
Subscribers
None

Details

Summary

I could add voids here instead, but I figured it doesn't particularly matter, since this function (onSend) is passed to TouchableOpacity's onPress prop, which doesn't care whether a Promise is returned, or how long the Promise takes.

Depends on D10168

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage