diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-24 14:34:46 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-24 14:34:46 +0200 |
commit | 864f3610b30d684a19fe86eff22835a5ba2e92c4 (patch) | |
tree | 008580a0bbe476744d2648a6fe503d9b137ad211 /src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java | |
parent | 1dae59141d345ae023ce94679f087f92b8b999d2 (diff) |
picture notification and some drive by bug fixes
Diffstat (limited to 'src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java index 0c294e7e..b2e5dd07 100644 --- a/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/ConversationAdapter.java @@ -100,6 +100,8 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { mLastMessage.setText(""); } } else if (message.getEncryption() == Message.ENCRYPTION_PGP) { + imagePreview.setVisibility(View.GONE); + mLastMessage.setVisibility(View.VISIBLE); mLastMessage.setText(R.string.encrypted_message_received); } else { mLastMessage.setVisibility(View.GONE); |