diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-18 19:03:31 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-18 19:03:31 +0200 |
commit | b3badac0eea4515f0787668613d75fd7189c02ee (patch) | |
tree | 344e2536bc5aaa17fc35adb3dfef77e2383fc45d /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui | |
parent | cc913698252aa134087ed09e018841e8f8c6a7ee (diff) | |
download | open-keychain-b3badac0eea4515f0787668613d75fd7189c02ee.tar.gz open-keychain-b3badac0eea4515f0787668613d75fd7189c02ee.tar.bz2 open-keychain-b3badac0eea4515f0787668613d75fd7189c02ee.zip |
Do not show lookup button in decrypt activity for decryption-only
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFragment.java | 6 |
1 files changed, 4 insertions, 2 deletions
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); } } - }); + } + ); } /** |