hide the decrypt signature layout in MessageView if no signature exists, fixes the wrong display of signatures from another message

This commit is contained in:
Thialfihar 2010-08-05 10:45:58 +00:00
parent 380452355c
commit 11e28698e1

View file

@ -2429,6 +2429,8 @@ public class MessageView extends K9Activity implements OnClickListener
}
mCryptoSignatureLayout.setVisibility(View.VISIBLE);
mDecryptLayout.setVisibility(View.VISIBLE);
} else {
mCryptoSignatureLayout.setVisibility(View.INVISIBLE);
}
if (!true || ((mMessage == null) && (mCrypto.getDecryptedData() == null)))