From b3badac0eea4515f0787668613d75fd7189c02ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 18 Apr 2014 19:03:31 +0200 Subject: Do not show lookup button in decrypt activity for decryption-only --- .../java/org/sufficientlysecure/keychain/ui/DecryptFragment.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenKeychain') diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java index 71a5f3ad5..6bb2209ea 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java @@ -189,8 +189,9 @@ public class DecryptFragment extends Fragment { } } else { mSignatureLayout.setVisibility(View.GONE); + mLookupKey.setVisibility(View.GONE); - // only successful decryption + // successful decryption-only mResultLayout.setBackgroundColor(getResources().getColor(R.color.result_blue)); mResultText.setText(R.string.decrypt_result_decrypted); } @@ -207,7 +208,8 @@ public class DecryptFragment extends Fragment { decryptStart(passphrase); } } - }); + } + ); } /** -- cgit v1.2.3