From 1431a57568cf6ed5f5d72d8ee1c0c698aacfca21 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 29 Jul 2021 11:04:30 +0200 Subject: [PATCH] Cleanup --- .../main/java/eu/faircode/email/FragmentOptionsMisc.java | 4 ---- app/src/main/res/layout/fragment_options_misc.xml | 6 ------ 2 files changed, 10 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index d30fa2968a..7ce0613a4d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -134,7 +134,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc private Button btnCiphers; private Button btnFiles; - private Group grpDeepL; private Group grpUpdates; private CardView cardDebug; @@ -245,7 +244,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc btnCiphers = view.findViewById(R.id.btnCiphers); btnFiles = view.findViewById(R.id.btnFiles); - grpDeepL = view.findViewById(R.id.grpDeepL); grpUpdates = view.findViewById(R.id.grpUpdates); cardDebug = view.findViewById(R.id.cardDebug); @@ -846,8 +844,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc } }); - grpDeepL.setVisibility(DeepL.canTranslate(getContext()) ? View.VISIBLE : View.GONE); - grpUpdates.setVisibility(!BuildConfig.DEBUG && (Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext())) ? View.GONE : View.VISIBLE); diff --git a/app/src/main/res/layout/fragment_options_misc.xml b/app/src/main/res/layout/fragment_options_misc.xml index 5896938940..1a85a23b7d 100644 --- a/app/src/main/res/layout/fragment_options_misc.xml +++ b/app/src/main/res/layout/fragment_options_misc.xml @@ -543,12 +543,6 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/swDebug" /> - -