25b0b39c49
Per-keystroke 'input' saves can be missed on mobile (predictive text or a fast tap-away fires no final input event), which lost the whole draft when you switched chats and came back. Added persistCurrentDraft() — snapshots the composer value into the current chat's draft key the instant you leave it (selectChat before the swap, and showWelcome/back). Restore on open was already correct. Skipped while editing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>