mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Enable DeepL for Play store
This commit is contained in:
parent
e26963f9be
commit
10fa9e2710
2 changed files with 2 additions and 4 deletions
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) {
|
||||
|
|
Loading…
Reference in a new issue