From 20623dc18a5650135ac7ca82567c488839fe4024 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 11 Feb 2011 12:12:09 -0500 Subject: [PATCH] slight clean up to cryptoprovider view interface --- src/com/fsck/k9/view/MessageCryptoView.java | 5 +++++ src/com/fsck/k9/view/SingleMessageView.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/view/MessageCryptoView.java b/src/com/fsck/k9/view/MessageCryptoView.java index 9c7a7f1a9..e9c70bb58 100644 --- a/src/com/fsck/k9/view/MessageCryptoView.java +++ b/src/com/fsck/k9/view/MessageCryptoView.java @@ -66,6 +66,11 @@ public class MessageCryptoView extends LinearLayout { } + + public void hide () { + this.setVisibility(View.GONE); + } + /** * Fill the decrypt layout with signature data, if known, make controls visible, if * they should be visible. diff --git a/src/com/fsck/k9/view/SingleMessageView.java b/src/com/fsck/k9/view/SingleMessageView.java index 4213a75e9..74c31917b 100644 --- a/src/com/fsck/k9/view/SingleMessageView.java +++ b/src/com/fsck/k9/view/SingleMessageView.java @@ -122,7 +122,7 @@ public class SingleMessageView extends LinearLayout { public void loadBodyFromUrl(String url) { mMessageContentView.loadUrl(url); - // TODO reenable: updateCryptoLayout(cryptoProvider, pgpData, message); + mCryptoView.hide(); }