[BUG] input box not cleared properly when Send Delay is set
I came across a cosmetic, but highly annoying bug. It's consistently reproducible.
1. Go to Settings, turn Send Delay on (set it to any value big enough to make replicating the big comfortably)
2. Send a text message to someone
3. While still on the delay phase (not actually sent yet), turn the screen off
4. Return to the app and to the conversation
EXPECTED RESULT:
Text message sent, input box cleared
ACTUAL RESULT
Text message sent, but input box still contains its contents, and has to be deleted manually.
If I tapped the "send" icon straight away, I'd post a duplicate.
It looks as if the "clear input box" action is triggered only after the text message is actually sent, but because the UI is gone by then (the screen was turned of), the app passes on that, so when the UI is restored, it's stale. The action should rather be pending / queued instead, and executed once the UI is restarted.
![](https://secure.gravatar.com/avatar/db607a899dc11c16d94fac0009b13927?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)