From 2c36870cc815701bd977415346bc8ed65c41a99e Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 2 Dec 2019 13:40:12 +0100 Subject: [PATCH] Enabled key import --- app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java index 9fbdbe0b83..ea7604fd55 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java @@ -227,7 +227,6 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer final Intent importKey = KeyChain.createInstallIntent(); btnImportKey.setEnabled(importKey.resolveActivity(getContext().getPackageManager()) != null); - btnImportKey.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE); btnImportKey.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { @@ -241,7 +240,6 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer } catch (NoSuchAlgorithmException ex) { tvKeySize.setText(Helper.formatThrowable(ex)); } - tvKeySize.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE); PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);