telegram-tt
telegram-tt copied to clipboard
Composer: Add check for empty input to prevent errors on delete action
This PR fixes #363.
Also fixed two issues shown in the video below:
- Unable to delete when only one emoji is left.
- Deleted the wrong emoji when there are multiple emojis.
https://github.com/Ajaxy/telegram-tt/assets/77763617/b93839b3-cb65-4754-97c1-7a6e4fbbfeeb