From 52e863cd1f2e9ad276a587c23f730ee2599c8600 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 20 Jul 2021 20:50:49 +0200 Subject: [PATCH] Really enable DeepL for Play store --- app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index 603618d613..d30fa2968a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -846,7 +846,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc } }); - grpDeepL.setVisibility(BuildConfig.PLAY_STORE_RELEASE ? View.GONE : View.VISIBLE); + grpDeepL.setVisibility(DeepL.canTranslate(getContext()) ? View.VISIBLE : View.GONE); grpUpdates.setVisibility(!BuildConfig.DEBUG && (Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext()))