Skip to content

Commit c48113e

Browse files
committed
Fixed a bug with sending a message when PgpContactsNachoTextView was not chipified.
1 parent 0586acc commit c48113e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

FlowCrypt/src/main/java/com/flowcrypt/email/ui/activity/fragment/base/CreateMessageFragment.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
* This fragment describe a logic of sent an encrypted or standard message.
107107
*
108108
* @author DenBond7
109-
* Date: 10.05.2017
110-
* Time: 11:27
111-
109+
* Date: 10.05.2017
110+
* Time: 11:27
111+
112112
*/
113113

114114
public class CreateMessageFragment extends BaseSyncFragment implements View.OnFocusChangeListener,
@@ -1020,6 +1020,10 @@ private void initChipsView(PgpContactsNachoTextView pgpContactsNachoTextView) {
10201020
* @return <tt>Boolean</tt> true if all information is correct, false otherwise.
10211021
*/
10221022
private boolean isAllInformationCorrect() {
1023+
editTextRecipientsTo.chipifyAllUnterminatedTokens();
1024+
editTextRecipientsCc.chipifyAllUnterminatedTokens();
1025+
editTextRecipientsBcc.chipifyAllUnterminatedTokens();
1026+
10231027
if (TextUtils.isEmpty(editTextRecipientsTo.getText().toString())) {
10241028
showInfoSnackbar(editTextRecipientsTo, getString(R.string.text_must_not_be_empty,
10251029
getString(R.string.prompt_recipients_to)));

0 commit comments

Comments
 (0)