Keep the send button when the composer is emptied while editing a message (#7456)

* Keep the send button when the composer is emptied while editing

rememberEndButtonParams checked whether the composer had sendable text
before it checked whether the user was editing a message, so clearing
the text of a message being edited replaced the send button with the
voice recorder button. Starting a recording from there abandons the
edit.

Check the editing branch first, as the formatting composer already does,
and let it render a disabled send button when there is nothing to send.

* Update screenshots
This commit is contained in:
hayyaksi
2026-08-20 09:55:50 +03:00
committed by GitHub
parent 2432b0ccc6
commit c362bca527
12 changed files with 119 additions and 32 deletions