Enable DeepL for Play store

pull/199/head
M66B 3 years ago
parent e26963f9be
commit 10fa9e2710

@ -3714,10 +3714,9 @@ Unfortunately, it is not possible to hide messages on the email server too.
1. [Copy](https://www.deepl.com/pro-account/plan) the authentication key
1. In the message composer tap on the faint translate button (文A), select *Configure* and paste the key
You might want to read the [privacy policy](https://www.deepl.com/privacy/) of DeepL.
This feature requires an internet connection and is not available in the Play store version.
This feature requires an internet connection.
<br />

@ -73,8 +73,7 @@ public class DeepL {
public static boolean isAvailable(Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean deepl_enabled = prefs.getBoolean("deepl_enabled", false);
return (deepl_enabled && !BuildConfig.PLAY_STORE_RELEASE);
return prefs.getBoolean("deepl_enabled", false);
}
public static boolean canTranslate(Context context) {

Loading…
Cancel
Save