Issue #1857 : Fix bcc field hidden in drafts

This commit is contained in:
Rohan Garg 2017-04-01 00:47:47 +05:30
parent 854a57a13b
commit 3552ed40a6

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();
} }
} }