1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

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); mCryptoSignatureLayout.setVisibility(View.VISIBLE);
mDecryptLayout.setVisibility(View.VISIBLE); mDecryptLayout.setVisibility(View.VISIBLE);
} else {
mCryptoSignatureLayout.setVisibility(View.INVISIBLE);
} }
if (!true || ((mMessage == null) && (mCrypto.getDecryptedData() == null))) if (!true || ((mMessage == null) && (mCrypto.getDecryptedData() == null)))