mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Added option for DeepL integration
This commit is contained in:
@@ -479,6 +479,10 @@ public class ApplicationEx extends Application
|
||||
String key = prefs.getString("deepl", null);
|
||||
editor.putString("deepl_key", key).remove("deepl");
|
||||
}
|
||||
} else if (version < 1630) {
|
||||
boolean experiments = prefs.getBoolean("experiments", false);
|
||||
if (experiments)
|
||||
editor.putBoolean("deepl_enabled", true);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user