-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX #3351] chat: fix extra new lines adding in the text input on enter (ios) #3373
[FIX #3351] chat: fix extra new lines adding in the text input on enter (ios) #3373
Conversation
@ikysylevych Does that fix an issue we have? |
@jeluard Yes, it fixes the issue on iOS. However, there was probably some reason for this code. I have two assumptions:
|
Makes sense! It would be great if you could give it a try on android. Emulator works fine and is easy to setup. |
@jeluard Just checked on android. Works fine. No extra new lines and any other side effects on press enter button. |
Automated test results:test_network_switch:white_check_mark::Test Steps & Error message:
test_contact_profile_view:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_now:white_check_mark::Test Steps & Error message:
test_transaction_send_command_wrong_password:white_check_mark::Test Steps & Error message:
test_send_eth_from_wallet_sign_later:white_check_mark::Test Steps & Error message:
test_send_stt_from_wallet_via_enter_contact_code:white_check_mark::Test Steps & Error message:
test_public_chat:white_check_mark::Test Steps & Error message:
test_transaction_send_command_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_one_to_one_chat_messages_and_delete_chat:white_check_mark::Test Steps & Error message:
test_send_transaction_from_daap:white_check_mark::Test Steps & Error message:
test_transaction_send_command_group_chat:x:Test Steps & Error message:
test_send_eth_to_request_in_group_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_in_one_to_one_chat:white_check_mark::Test Steps & Error message:
test_send_eth_to_request_from_wallet:white_check_mark::Test Steps & Error message:
test_group_chat_messages:white_check_mark::Test Steps & Error message:
|
…ut on enter (ios) Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
096aa47
to
0a17d75
Compare
Summary:
Concatenation of the input text with a new line symbol "\n" looks exhaustive in iOS. But it may be required in Android. I cannot test Android at this moment. In case it fails in Android maybe we should add a platform check.
status: ready