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)
Mon, Nov 25, 6:53 PM
Unknown Object (File)
Mon, Nov 25, 8:03 AM
Unknown Object (File)
Nov 22 2024, 10:08 AM
Unknown Object (File)
Nov 22 2024, 10:05 AM
Unknown Object (File)
Nov 7 2024, 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
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