https://linear.app/comm/issue/ENG-11166/crashes-when-typing-text-messages-on-ios
Currently there is a trick with switching two TextInputs when sending a message. There is no context in git history about why
it's needed (https://github.com/CommE2E/comm/commit/153a3537ab097d01a8cff6b1cc742e18799e13d6) but removing it seems to fix
the crash.
There is one regression though (probably the reason why we need two text inputs):
- type a message
- send it
- quickly continue typing
The message is sent, but the text input is not cleared and the next message will start with the previous message.
This can be improved by improving app performance when sending a message. I haven't measured anything, but on dev build it's
laggy.