Page MenuHomePhabricator

[native] Add some awaits in ChatInputBar.onSend
ClosedPublic

Authored by ashoat on Dec 4 2023, 1:14 PM.
Tags
None
Referenced Files
F3365844: D10169.diff
Mon, Nov 25, 8:03 AM
Unknown Object (File)
Fri, Nov 22, 10:08 AM
Unknown Object (File)
Fri, Nov 22, 10:05 AM
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
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
Lint Not Applicable
Unit
Tests Not Applicable