You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the chat screen, after the user has sent a message, the textField became empty, which is right for now, but if the user hits the send button again, it will send the last message.
It is because the messageText is not set to empty string after last message is sent.
This problem can also be fixed by refactoring like this Pull Request do.
The text was updated successfully, but these errors were encountered:
In the chat screen, after the user has sent a message, the textField became empty, which is right for now, but if the user hits the send button again, it will send the last message.
It is because the
messageText
is not set to empty string after last message is sent.This problem can also be fixed by refactoring like this Pull Request do.
The text was updated successfully, but these errors were encountered: