aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-06-04 21:38:13 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-06-04 21:38:30 +0200
commit5ab0d76c696512ea0830f178df17bb23c38e9e6c (patch)
treea0c36e1389b4e7be6ed08b26833df23c167e3b4d /OpenKeychain/src/main/java
parent36bc0ae676d9ac9bdf65d00690e8aad07223c51e (diff)
downloadopen-keychain-5ab0d76c696512ea0830f178df17bb23c38e9e6c.tar.gz
open-keychain-5ab0d76c696512ea0830f178df17bb23c38e9e6c.tar.bz2
open-keychain-5ab0d76c696512ea0830f178df17bb23c38e9e6c.zip
ui: do show Certify identities button even for secret keys
Closes #636
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyMainFragment.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyMainFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyMainFragment.java
index c16bb82af..ae7cef70c 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyMainFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyMainFragment.java
@@ -169,18 +169,10 @@ public class ViewKeyMainFragment extends LoaderFragment implements
case LOADER_ID_UNIFIED: {
if (data.moveToFirst()) {
if (data.getInt(INDEX_UNIFIED_HAS_ANY_SECRET) != 0) {
- // certify button
- mActionCertify.setVisibility(View.GONE);
- mActionCertifyDivider.setVisibility(View.GONE);
-
// edit button
mActionEdit.setVisibility(View.VISIBLE);
mActionEditDivider.setVisibility(View.VISIBLE);
} else {
- // certify button
- mActionCertify.setVisibility(View.VISIBLE);
- mActionCertifyDivider.setVisibility(View.VISIBLE);
-
// edit button
mActionEdit.setVisibility(View.GONE);
mActionEditDivider.setVisibility(View.GONE);