Merge pull request #2472 from devRohanGarg/master

Issue #1857 : Fix bcc field hidden in drafts
This commit is contained in:
Vincent Breitmoser 2017-04-02 17:54:00 +02:00 committed by GitHub
commit 06b0f7d851

View file

@ -241,7 +241,7 @@ public class RecipientPresenter implements PermissionPingCallback {
boolean alreadyVisible = recipientMvpView.isBccVisible(); boolean alreadyVisible = recipientMvpView.isBccVisible();
boolean singleBccRecipientFromAccount = boolean singleBccRecipientFromAccount =
bccRecipients.length == 1 && bccRecipients[0].toString().equals(bccAddress); bccRecipients.length == 1 && bccRecipients[0].toString().equals(bccAddress);
recipientMvpView.setBccVisibility(alreadyVisible || singleBccRecipientFromAccount); recipientMvpView.setBccVisibility(alreadyVisible || !singleBccRecipientFromAccount);
updateRecipientExpanderVisibility(); updateRecipientExpanderVisibility();
} }
} }