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)
Fri, Apr 25, 1:55 AM
Unknown Object (File)
Sat, Apr 19, 4:02 PM
Unknown Object (File)
Sat, Apr 19, 10:04 AM
Unknown Object (File)
Sat, Apr 19, 7:31 AM
Unknown Object (File)
Sat, Apr 19, 6:37 AM
Unknown Object (File)
Fri, Apr 18, 7:40 AM
Unknown Object (File)
Wed, Apr 9, 12:43 AM
Unknown Object (File)
Tue, Apr 8, 8:52 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
No Lint Coverage
Unit
No Test Coverage