mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Enable DeepL for Play store
This commit is contained in:
3
FAQ.md
3
FAQ.md
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user